DeviceFrameRegistry class
Registry of device frame presets. Hosts can replace the defaults or add custom frames (e.g. embedded 320x240) without touching preset code.
Constructors
-
DeviceFrameRegistry({List<
DeviceFrame> ? presets})
Properties
-
all
→ List<
DeviceFrame> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ids
→ List<
String> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
byId(
String id) → DeviceFrame? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
DeviceFrame frame) → void -
Register
frame. Throws ifframe.idis already taken. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited