MaterialGap class Null safety

A class that represents a gap within MergeableMaterial.

All MaterialGap objects need a LocalKey.

Inheritance

Constructors

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

Properties

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
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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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