NoneGridStyle class

Grid style that renders nothing.

This is a null object pattern implementation that provides a "no grid" option without requiring null checks throughout the codebase.

Use this when you want a clean canvas with no background grid pattern.

Inheritance

Constructors

NoneGridStyle()
const

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

createGridPaint(NodeFlowTheme theme) Paint
Helper to create a base paint object with grid color and thickness.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size, NodeFlowTheme theme, GraphViewport viewport) → void
Paints the grid pattern on the canvas.
inherited
paintGrid(Canvas canvas, NodeFlowTheme theme, ({double bottom, double left, double right, double top}) gridArea) → void
Renders the style-specific grid pattern.
override
toString() String
A string representation of this object.
inherited

Operators

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