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

hashCode → int
The hash code for this object.
no setterinherited
key → LocalKey
The key for this item of the list.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited