EaziGrid class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- EaziGrid
Constructors
-
EaziGrid({required List<
Widget> children, EaziAlignment horizontalAlignment = EaziAlignment.start, EaziAlignment verticalAlignment = EaziAlignment.start, bool isScrollable = false}) -
Row to Grid Widget. Should be child of constrained parent widget i.e width
of parent widget must be explicitly defined and vertical height shrinks to wrap resulting grid if height is
left undefined.
const
Properties
-
children
→ List<
Widget> -
All children must be widgets with explicitly defined heights and widths.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalAlignment → EaziAlignment
-
Aligns children in each row to any of the options in EaziAlignment
final
- isScrollable → bool
-
Makes final grid vertically scrollable if set to true.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verticalAlignment → EaziAlignment
-
If vertical height is explicitly defned, verticalAlignment aligns grid rows
to any of the options in EaziAlignment.
Entire Widget is prone to erratic behaviour when isScrollable
is set to true with verticalAlignment set to a value other than EaziAlignment.start
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< EaziGrid> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited