SliverLayoutGridDelegate class abstract
Creates a grid layout.
This delegate creates grids with variable sized but equally spaced cells.
See also:
- LayoutGrid, which can use this delegate to control the layout of its cells.
- SliverLayoutGrid, which can use this delegate to control the layout of its cells.
- RenderSliverLayoutGrid, which can use this delegate to control the layout of its cells.
Constructors
- SliverLayoutGridDelegate({double mainAxisSpacing = 0.0, double crossAxisSpacing = 0.0})
-
Creates a delegate that makes grid layouts
const
Properties
- crossAxisSpacing → double
-
The number of logical pixels between each child along the cross axis.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainAxisSpacing → double
-
The number of logical pixels between each child along the main axis.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getConfiguration(
SliverConstraints constraints) → LayoutGridConfiguration - Returns information about the layout grid configuration.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRelayout(
SliverLayoutGridDelegate oldDelegate) → bool - Override this method to return true when the children need to be laid out.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited