GridLayout class

A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.

Constructors

GridLayout({Input<String>? columns, Input<List<Widget>>? widgets})
Creates a new GridLayout. columns The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering. widgets The informational elements that are arranged into the columns row-first.
const
GridLayout.fromMap(Map<String, dynamic> map)
factory

Properties

columns → Input<String>?
The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
widgets → Input<List<Widget>>?
The informational elements that are arranged into the columns row-first.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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