Layout class final

A widget that lays out other widgets according to a layout algorithm.

The layout must divide the area into the exact number of sub-areas as there are children, and the children are then drawn in those sub-areas in the order they are provided.

Inheritance

Constructors

Layout(LayoutSpec layout, List<Widget> children)
Creates a layout widget.
const

Properties

children List<Widget>
The children to lay out.
final
hashCode int
The hash code for this object.
no setterinherited
layout LayoutSpec
The layout algorithm to use.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

draw(Buffer buffer) → void
Draws the widget on the buffer.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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