ZeroGridItem class
ZeroGridItem is a widget that can be used to display a widget in a grid. used in child of ZeroGrid
Constructors
- ZeroGridItem.new({Widget child = const SizedBox(), int mainAxisCount = 1, int crossAxisCount = 1})
-
const
Properties
- child → Widget
-
The widget below this widget in the tree.
final
- crossAxisCount → int
-
The number of rows to display.
this is the number of rows that the child will occupy
same like rowSpan table in html which is vertical merge of rows
default is 1 and cannot be less than 1
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainAxisCount → int
-
The number of columns to display.
this is the number of columns that the child will occupy
same like colSpan table in html which is horizontal merge of columns
default is 1 and max reference to ZeroGrid.columnCount value
this value cannot be greater than ZeroGrid.columnCount and cannot be less than 1
final
- 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