CanvasSizing enum

How a canvas sizes itself in its host.

Inheritance
Available extensions

Values

fill → const CanvasSizing

The canvas is the screen: it fills the width and height it's given. On an unbounded axis it takes its design size (an autoScale canvas its scaled height; a canvas that hugs its height, its content's).

design → const CanvasSizing

The canvas keeps its design size within the space it's given (a dialog).

fillWidth → const CanvasSizing

The canvas fills the width and keeps its design height (a sheet).

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<CanvasSizing>
A constant List of the values in this enum, in order of their declaration.