flutter_layout_grid library

Classes

AutoPlacement
Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.
FixedTrackSize
Sizes the track to a specific number of pixels. [...]
FlexibleTrackSize
Sizes the track by taking a part of the remaining space once all the other tracks have been laid out on the same axis. [...]
GridArea
Represents a rectangular region on the grid.
GridPlacement
A widget that controls where a child of a LayoutGrid is placed. If a grid item is not wrapped by a GridPlacement, it will be placed in the first available space, spanning one row and one column.
IntrinsicContentTrackSize
Sizes the track according to the intrinsic dimensions of all its cells. [...]
LayoutGrid
Lays out its children using an approximation of the CSS Grid Layout algorithm, described here: [...]
TrackSize
Base class to describe the width (for columns) or height (for rows) of a track in a RenderLayoutGrid. [...]

Extensions

GridPlacementExtensions
Extension methods for terse placement syntax

Functions

gridTemplateAreas(List<String> specRows) → Map<String, GridArea>
TODO(shyndman): This should also produce column and row counts. Maybe sizes too?
mainAxisForTrackType(TrackType type) → Axis
Returns the direction of cell layout for the provided type.
measurementAxisForTrackType(TrackType type) → Axis
Returns the axis measured by a TrackSize associated with a particular TrackType.

Enums

AutoPlacementPacking
Packing strategies used by the auto-placement algorithm.
GridFit
Determines the constraints available to the grid layout algorithm.
TrackType
Passed to TrackSize functions to indicate the type of track whose cross-axis is being measured.