SliverQuiltedGridDelegate class
Controls the layout of a quilted grid.
- Inheritance
-
- Object
- SliverGridDelegate
- SliverQuiltedGridDelegate
Constructors
-
SliverQuiltedGridDelegate({required int crossAxisCount, required List<
QuiltedGridTile> pattern, QuiltedGridRepeatPattern repeatPattern = QuiltedGridRepeatPattern.same, double mainAxisSpacing = 0, double crossAxisSpacing = 0}) - Creates a SliverQuiltedGridDelegate.
Properties
- crossAxisCount → int
-
The number of children in the cross axis.
final
- crossAxisSpacing → double
-
The number of pixels between each child along the cross axis.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainAxisSpacing → double
-
The number of pixels between each child along the main axis.
final
- repeatPattern → QuiltedGridRepeatPattern
-
Describes how the pattern is repeating.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLayout(
SliverConstraints constraints) → _SliverQuiltedGridLayout -
Returns information about the size and position of the tiles in the grid.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRelayout(
covariant SliverQuiltedGridDelegate oldDelegate) → bool -
Override this method to return true when the children need to be
laid out.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited