MaterialGap class

A class that represents a gap within MergeableMaterial.

All MaterialGap objects need a LocalKey.

Inheritance

Constructors

MaterialGap({@required LocalKey key, double size: 16.0 })
Creates a Material gap with a given size.
const

Properties

size → double
The main axis extent of this gap. For example, if the MergeableMaterial is vertical, then this is the height of the gap.
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
key LocalKey
The key for this item of the list. [...]
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, 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

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited