GridGroupStyle class
- Inheritance
-
- Object
- GroupStyle
- GridGroupStyle
Constructors
- GridGroupStyle.new({Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController? controller, bool? primary, ScrollPhysics? physics, required SliverGridDelegate gridDelegate, double? height, double? width})
-
Pass either the
height
or thewidth
according to the layout direction of the parent widgetconst
Properties
- controller → ScrollController?
-
An object that can be used to control the position to which this scroll
view is scrolled.
final
- gridDelegate → SliverGridDelegate
-
GridView.gridDelegate
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
Fixed height of the group
final
- physics → ScrollPhysics?
-
How the scroll view should respond to user input.
final
- primary → bool?
-
Whether this is the primary scroll view associated with the parent
PrimaryScrollController.
final
- reverse → bool
-
Whether the scroll view scrolls in the reading direction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollDirection → Axis
-
The Axis along which the scroll view's offset increases.
final
- width → double?
-
Fixed width of the group
final
Methods
-
copyWith(
{ScrollController? controller, bool? primary, Axis? scrollDirection, bool? reverse, ScrollPhysics? physics, SliverGridDelegate? gridDelegate, double? height, double? width}) → GridGroupStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited