StorifyMeFlutterPlugin class
A class that provides methods for interacting with native functionality through Flutter.
Use this class to set event listeners, initialize the plugin, get platform version, show notifications, and obtain the playback controller.
Constructors
- StorifyMeFlutterPlugin.new()
- Constructs a new instance of the StorifyMeFlutterPlugin.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- playbackController → StorifyMePlaybackController
-
Gets the playback controller.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disableInitialOnboarding(
) → void - Disables the initial onboarding tutorial permanently, ensuring users won't see it again once it's triggered.
-
getPlatformVersion(
) → Future< String?> - Retrieves the platform version.
-
initPlugin(
Map< String, dynamic> map) → Future<void> - Initializes the plugin with the given parameters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openStoryByHandle(
String handle) → void -
setAdEventListener(
StorifyMeAdEventListener adEventListener) → void - Sets the event listener for ad-related events.
-
setEventListener(
NativeEventListener nativeEventListener) → void - Sets the event listener for native events.
-
showNotification(
{required String title, String? message, double duration = 3.0}) → void - Shows a notification with the specified title, message, and duration.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited