Frame class

A frame.

Constructors

Frame(String identifier, String name, ImageGroupSet imageGroups, double relativeScale, String thumbnailUri, {FrameLayoutMode layoutMode})
Creates a new Frame.
Frame.existing(String identifier)
Retrieves an existing Frame with the given identifier.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
identifier String
The identifier of the item.
final, inherited
imageGroups ImageGroupSet
Images for the 12-patch layout of a dynamic frame that automatically adapts to any output image resolution.
final
layoutMode FrameLayoutMode
The layout mode of the patches of the frame. [...]
final
name String
The name of the item.
final, inherited
relativeScale double
The relative scale of the frame which is defined in relatation to the shorter side of the resulting output image.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnailUri String
The source for the thumbnail image of the frame. This should either be the full path, a uri or if it is an asset the relative path as specified in your pubspec.yaml file.
final

Methods

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