GridStyles class final
Provides static constants for different grid styles.
This class offers pre-configured grid style instances that can be used directly in themes or custom configurations.
Example usage:
// Use in theme
final theme = NodeFlowTheme.light.copyWith(
gridStyle: GridStyles.lines,
);
// Use with custom multiplier for hierarchical
final customHierarchical = HierarchicalGridStyle(majorGridMultiplier: 10);
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Constants
- cross → const GridStyle
- Cross grid style - small crosses at grid intersections.
- dots → const GridStyle
- Dots grid style - dots at grid intersections.
- hierarchical → const GridStyle
- Hierarchical grid style with default 5x multiplier.
- lines → const GridStyle
- Lines grid style - evenly spaced vertical and horizontal lines.
- none → const GridStyle
- No grid style - renders nothing.