A class that represents a gap within MergeableMaterial.
All MaterialGap objects need a LocalKey.
- Inheritance
- Object
- MergeableMaterialItem
- MaterialGap
Constructors
- MaterialGap({@required LocalKey key, double size: 16.0 })
-
Creates a Material gap with a given size.
Properties
- size → double
-
The main axis extent of this gap. For example, if the
MergableMaterial
is vertical, then this is the height of the gap.read-only - hashCode → int
-
Get a hash code for this object.
read-only, inherited - key → LocalKey
-
The key for this item of the list.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
toString(
) → String -
Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited