GuideInterval class
GuideInterval model used to specify the grid guides for a Widget
Constructors
- GuideInterval(int intervals, {int divisions = 1, LineDecorator intervalDecorator = const LineDecorator(color: Color(0x7FC3E8F3), width: 0.5), LineDecorator divisionDecorator = const LineDecorator(color: Color(0x7FC3E8F3), width: 0.25)})
-
const
Properties
- divisionDecorator → LineDecorator
-
LineDecorator used to define division line width and color
final
- divisions → int
-
The number of major divisions within each primary grid cell.
This is the number of major divisions per
interval
, including the primary grid's line.final - hashCode → int
-
The hash code for this object.
no setteroverride
- intervalDecorator → LineDecorator
-
LineDecorator used to define interval line width and color
final
- intervals → int
-
The distance between the primary lines in the grid, in logical pixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? intervals, int? divisions, LineDecorator? intervalDecorator, LineDecorator? divisionDecorator}) → GuideInterval - creates a new GuideInterval with provided overrides
-
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.
override