SchemaConfiguration class final

Configuration class for the schema.

This class holds various configuration options for the schema, such as the size of the schema, whether to show the grid and blocks, and the layout direction.

Constructors

SchemaConfiguration({SchemaSize size = kDefaultSchemaSize, bool showGrid = false, bool showBlocks = false, LayoutDirection layoutDirection = LayoutDirection.bottomLeft, InitiateAxesScaleCallback initiateAxesScale = _kDefaultAxesScaleCallback})
Creates a new SchemaConfig instance.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
initiateAxesScale InitiateAxesScaleCallback
Callback for initiating the axes scale.
final
layoutDirection LayoutDirection
The direction of the layout.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBlocks bool
Whether to show the blocks.
final
showGrid bool
Whether to show the grid.
final
size SchemaSize
The size of the schema.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override