FloatButtonGrid class

A rectangular block of items — FloatButtonLayout.grid.

Inheritance

Constructors

FloatButtonGrid(int columns, {double? gap})
Creates a grid columns wide.
const

Properties

columns → int
How many items stand side by side before the next row starts.
final
gap → double?
Space between items. Null takes the token's.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

labelPlacementFor(int index, int count, Size item, Offset away, double gap) → FloatButtonLabelPlacement
Which side item index's label hangs on under FloatButtonLabelPlacement.auto.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offsetFor(int index, int count, Size item, Offset away, double gap) → Offset
Where item index of count sits when the group is fully open, measured from the trigger's centre.
override
toString() → String
A string representation of this object.
inherited

Operators

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