An abstract interface to control the layout of a RenderGrid.

Constructors

GridDelegate()

Properties

padding → EdgeInsets

Insets for the entire grid.

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

getChildPlacement(GridSpecification specification, int index, Object placementData) → GridChildPlacement

Override this method to control where children are placed in the grid.

getGridSpecification(BoxConstraints constraints, int childCount) → GridSpecification

Override this method to control size of the columns and rows.

getMaxIntrinsicHeight(double width, int childCount) → double

Returns the smallest height beyond which increasing the height never decreases the preferred width.

getMaxIntrinsicWidth(double height, int childCount) → double

Returns the smallest width beyond which increasing the width never decreases the preferred height.

getMinIntrinsicHeight(double width, int childCount) → double

Return the minimum height that this grid could be without failing to paint its contents within itself.

getMinIntrinsicWidth(double height, int childCount) → double

Returns the minimum width that this grid could be without failing to paint its contents within itself.

shouldRelayout(GridDelegate oldDelegate) → bool

Override this method to return true when the children need to be laid out.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited