Skip to content

Commit

Permalink
Update readme and documentation for latest native SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
fotiDim committed Oct 15, 2023
1 parent a4f8abb commit 35e788e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ var gesturedeckMedia = GesturedeckMedia.initialize(
swipeRightAction: () {},
panAction: () {},
gesturedeckMediaOverlay: GesturedeckMediaOverlay(
tintColor: Colors.green,
topIcon: icon,
iconSwipeLeft: ...,
iconSwipeRight: ...,
Expand Down
6 changes: 5 additions & 1 deletion lib/src/gesturedeck_media.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import 'generated/gesturedeck_generated.g.dart';

/// A subclass of [Gesturedeck] that provides media-specific functionality such as volume control and media playback actions.
///
/// Gesturedeck also includes support for media overlays, which can be used to display additional information or controls on top of the app's content.
/// GesturedeckMedia also includes support for media overlays, which can be used to display additional information or controls on top of the app's content.
///
/// You can set any action to null to disable it.
///
/// You can set the overlay to null to disable it.
class GesturedeckMedia {
static final _gesturedeckMediaChannel = GesturedeckMediaChannel();
static bool _isInitialized = false;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/models/gesturedeck_media_overlay.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:ui';

/// A model representing a media overlay in the Gesturedeck SDK.
class GesturedeckMediaOverlay {
/// The color used to tint the overlay elements.
/// The color used to tint the overlay elements. Has effect only when an activation key is set.
Color? tintColor;

/// The background color of the overlay.
Expand Down

0 comments on commit 35e788e

Please sign in to comment.