GridParams class

Combines all the parameters concerning layout grid.

size is a distance (in pixels) between the lines in the grid. To set grid color, pass it via Color color parameter (by default set to Color(0x1AFF0000)). safeAreaParams allows to avoid system obstacles. For more details see SafeAreaParams.

Constructors

GridParams({double size = 32.0, Color color = _defaultColor, SafeAreaParams safeAreaParams = const SafeAreaParams()})
const

Properties

color Color
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeAreaParams SafeAreaParams
final
size double
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.
inherited