LayoutGrid class
Guides to align and place objects within a frame.
- Available Extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
- LayoutGrid({LayoutPattern? pattern, double? sectionSize, bool? visible, Color? color, LayoutAlign? alignment, double? gutterSize, double? offset, int? count})
-
LayoutGrid.fromJson(Map<
String, dynamic> json) -
factory
Properties
- alignment → LayoutAlign?
-
Positioning of grid as a string enum.
final
- color → Color?
-
Color of the grid.
final
- count → int?
-
Number of columns or rows.
final
- gutterSize → double?
-
Spacing in between columns and rows.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → double?
-
Spacing before the first column or row.
final
- pattern → LayoutPattern?
-
Orientation of the grid as a string enum.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionSize → double?
-
Width of column grid or height of row grid or square grid spacing.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - visible → bool?
-
Is the grid currently visible?
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited