TGridDelegate class

Delegate for controlling grid layout.

Constructors

TGridDelegate({int? crossAxisCount, double? maxCrossAxisExtent, double mainAxisSpacing = 8.0, double crossAxisSpacing = 8.0})
Creates a grid delegate.
const

Properties

crossAxisCount → int?
Fixed cross-axis count.
final
crossAxisSpacing → double
Spacing along the cross axis.
final
hashCode → int
The hash code for this object.
no setterinherited
mainAxisSpacing → double
Spacing along the main axis.
final
maxCrossAxisExtent → double?
Maximum extent of cross-axis items.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
simpleGridDelegate → SliverSimpleGridDelegate
Returns a SliverSimpleGridDelegate for internal use.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toSliverGridDelegate() → SliverGridDelegate
Returns the real SliverGridDelegate (with spacing) that Flutter's sliver pipeline uses — needed for introspection in resolveColumnsFromConstraints.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited