DynaPlatform class Null safety
The interface that platorm implementations of dyna must implement.
Platform implementations should extend this class rather than implement it
as dyna
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 DynaPlatform methods.
- Inheritance
-
- Object
- PlatformInterface
- DynaPlatform
- Implementers
Constructors
- DynaPlatform()
- Constructs a DynaPlatform.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
getColors(
) → Future< List< int> ?> - Returns wallpaper-based colors from the platform.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ DynaPlatform
-
The default instance of DynaPlatform to use.
read / write