DeviceFxPresets class abstract final

The bundled presets.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 Methods

byId(String id, {AssetBundle? bundle}) → Future<DeviceFxPreset>
One bundled preset by id.
load({AssetBundle? bundle}) → Future<List<DeviceFxPreset>>
Loads every bundled preset (from bundle, default rootBundle).

Constants

assetDir → const String
Asset directory of the presets inside the app bundle.
ids → const List<String>
Ids of the built-in presets.