GiphyDialogMethodChannel class

A platform-specific implementation of the GiphyDialog using a MethodChannel.

This class communicates with the native platform using the MethodChannel 'com.giphyfluttersdk/dialog'. It handles method calls from the platform and provides methods to configure, show, and hide the GiphyDialog.

Inheritance

Constructors

GiphyDialogMethodChannel.new()
Constructs a GiphyDialogMethodChannel.

Properties

hashCode int
The hash code for this object.
no setterinherited
onDismissCallback ↔ dynamic Function()?
Callback for handling dialog dismissal events.
getter/setter pairinherited
onMediaSelectCallback ↔ dynamic Function(GiphyMedia media, String searchTerm, String selectedContentType)?
Callback for handling media selection events.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

configure(Map<String, dynamic> config) Future<void>
Configures the GiphyDialog with the given config settings.
override
hide() Future<void>
Hides the GiphyDialog.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOnDismissCallback(dynamic callback()) → void
Registers a callback for dialog dismissal events.
inherited
registerOnMediaSelectCallback(dynamic callback(GiphyMedia media, String searchTerm, String selectedContentType)) → void
Registers a callback for media selection events.
inherited
show() Future<void>
Shows the GiphyDialog.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited