flow_columns library
Cards laid out in fixed-width columns; a card taller than the room left in its column continues in the next column under a "Continued" band.
Classes
- FlowBandStyle
- Look of the grey band that opens or closes a cut card.
- FlowCardSpec
- FlowCardStyle
- Per-card look. Blocking input on a locked card is up to the caller (wrap its fragments in AbsorbPointer); isLocked only paints the overlay.
- FlowColumnsBoard
- Lays FlowFragment children out in columns of columnWidth × columnHeight. Fragments are grouped by card, in order; a card that does not fit the room left in its column is cut between item fragments and continues in the next column under a band. The board is as wide as the columns it uses, so it usually sits in a horizontal scroll view.
- FlowColumnsParentData
- FlowFragment
- A fragment of a card on a FlowColumnsBoard.
- FlowFragmentSpec
- FlowPackResult
- FlowRun
- One contiguous part of a card inside one column.
- RenderFlowColumnsBoard
Enums
- FlowFragmentKind
- What a fragment is to the packer.
Functions
-
packColumnFlow(
{required List< FlowFragmentSpec> fragments, required List<double> heights, required List<FlowCardSpec> cards, required double columnWidth, required double columnHeight, required double spacing, double border = 2, double continuedBandHeight = 36, double cutPadding = 8, double continuedTopPadding = 8}) → FlowPackResult -
Packs
fragments(grouped by card, in order) into columns ofcolumnWidth×columnHeightseparated byspacing.