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 = 16.0})
Creates a Material gap with a given size.
const

Properties

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