FlowColumnsBoard class
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.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- RenderObjectWidget
- MultiChildRenderObjectWidget
- FlowColumnsBoard
Constructors
-
FlowColumnsBoard({Key? key, required List<
FlowCardStyle> cards, required double columnWidth, required double columnHeight, required double spacing, double borderWidth = 2, double radius = 16, Color fillColor = const Color(0xFFFFFFFF), Color lockOverlayColor = const Color(0x809E9E9E), FlowBandStyle topBand = const FlowBandStyle(), FlowBandStyle bottomBand = const FlowBandStyle(), bool showTopBand = true, bool showBottomBand = true, String continuedLabel = 'Continued...', double cutPadding = 8, double continuedTopPadding = 8, List<Widget> children = const <Widget>[]}) -
const
Properties
- borderWidth → double
-
final
- bottomBand → FlowBandStyle
-
Band closing a cut run; its text is always continuedLabel.
final
-
cards
→ List<
FlowCardStyle> -
final
-
children
→ List<
Widget> -
The widgets below this widget in the tree.
finalinherited
- columnHeight → double
-
final
- columnWidth → double
-
final
- continuedLabel → String
-
final
- continuedTopPadding → double
-
Space between the top band and the first fragment of a continuation.
final
- cutPadding → double
-
Space kept between the last fragment of a cut run and the bottom band.
final
- fillColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lockOverlayColor → Color
-
final
- radius → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showBottomBand → bool
-
Whether bottomBand is drawn and reserved at the bottom of a cut run.
final
- showTopBand → bool
-
Whether topBand is drawn and reserved above a continuation.
final
- spacing → double
-
final
- topBand → FlowBandStyle
-
Band opening a continuation; its text is the fragment's
FlowFragment.continuedLabel or continuedLabel.
final
Methods
-
createElement(
) → MultiChildRenderObjectElement -
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
inherited
-
createRenderObject(
BuildContext context) → RenderFlowColumnsBoard -
Creates an instance of the RenderObject class that this
RenderObjectWidget represents, using the configuration described by this
RenderObjectWidget.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didUnmountRenderObject(
covariant RenderObject renderObject) → void -
This method is called when a RenderObject that was previously
associated with this widget is removed from the render tree.
The provided RenderObject will be of the same type as the one created by
this widget's createRenderObject method.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
-
updateRenderObject(
BuildContext context, covariant RenderFlowColumnsBoard renderObject) → void -
Copies the configuration described by this RenderObjectWidget to the
given RenderObject, which will be of the same type as returned by this
object's createRenderObject.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited