GiphyDialogPlatform class abstract

An abstract class representing the platform interface for GiphyDialog.

This class extends PlatformInterface and provides the basic structure for interacting with the GiphyDialog on different platforms. It includes methods for configuration, showing, and hiding the dialog, as well as handling callbacks for media selection and dialog dismissal.

Inheritance
  • Object
  • PlatformInterface
  • GiphyDialogPlatform
Implementers

Constructors

GiphyDialogPlatform.new()
Constructs a GiphyDialogPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
onDismissCallback ↔ dynamic Function()?
Callback for handling dialog dismissal events.
getter/setter pair
onMediaSelectCallback ↔ dynamic Function(GiphyMedia media, String searchTerm, String selectedContentType)?
Callback for handling media selection events.
getter/setter pair
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.
hide() Future<void>
Hides the GiphyDialog.
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.
registerOnMediaSelectCallback(dynamic callback(GiphyMedia media, String searchTerm, String selectedContentType)) → void
Registers a callback for media selection events.
show() Future<void>
Shows the GiphyDialog.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance GiphyDialogPlatform
Gets the current instance of GiphyDialogPlatform.
getter/setter pair