QuickActionsPlatform class abstract
The interface that implementations of quick_actions must implement.
Platform implementations should extend this class rather than implement it as quick_actions
does not consider newly added methods to be breaking changes. Extending this class
(using extends
) ensures that the subclass will get the default implementation, while
platform implementations that implements
this interface will be broken by newly added
QuickActionsPlatform methods.
- Inheritance
-
- Object
- PlatformInterface
- QuickActionsPlatform
- Implementers
Constructors
- QuickActionsPlatform()
- Constructs a QuickActionsPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearShortcutItems(
) → Future< void> - Removes all ShortcutItems registered for the app.
-
initialize(
QuickActionHandler handler) → Future< void> - Initializes this plugin.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setShortcutItems(
List< ShortcutItem> items) → Future<void> - Sets the ShortcutItems to become the app's quick actions.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ QuickActionsPlatform
-
The default instance of QuickActionsPlatform to use.
getter/setter pair