MethodChannelStorifyMeFlutterPlugin class
An implementation of StorifyMeFlutterPluginPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- StorifyMeFlutterPluginPlatform
- MethodChannelStorifyMeFlutterPlugin
Constructors
Properties
- adEventListener ↔ StorifyMeAdEventListener?
-
Listener for ad-related events.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- nativeEventListener ↔ NativeEventListener?
-
Listener for native events.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closePlayback(
) → void -
Method used to close StorifyMe experience playback
override
-
disableInitialOnboarding(
) → void -
Disables the initial onboarding tutorial permanently, ensuring users
won't see it again once it's triggered.
override
-
getPlatformVersion(
) → Future< String?> -
Retrieves the platform version.
override
-
getWidgetCachedHeight(
int widgetId, int autoLayoutType) → Future< double?> -
Retrieves the cached height of a widget.
override
-
initPlugin(
Map< String, dynamic> map) → Future<void> -
Initializes the plugin with the given parameters.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openStoryByHandle(
String handle) → void -
override
-
pausePlayback(
{StorifyMeControlsVisibility controlsVisibility = StorifyMeControlsVisibility.visible}) → void -
Method used to pause StorifyMe playback
override
-
resumePlayback(
{StorifyMePlaybackMode mode = StorifyMePlaybackMode.proceed}) → void -
Method used to resume StorifyMe playback
override
-
showNotification(
{required String title, String? message, required double duration}) → void -
Shows a notification with the specified title, message, and duration.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited