AdaptiveColumn class
The AdaptiveColumn follows the Material guideline for responsive grids.
https://material.io/design/layout/responsive-layout-grid.html#columns-gutters-and-margins
This widget intigrates with the AdaptiveContainer widget. The AdaptiveContainer widget has a parameter called columns which represents the amount of columns it should take according to the breakpoints package.
So if the user has 6 adaptive container and each container represents two columns then the 6 adaptive container would all fit within one Row on a extra large screen because extra large screens have 12 columns per row.
Learn more about the breakpoint system:
https://material.io/design/layout/responsive-layout-grid.html#breakpoints
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- AdaptiveColumn
Constructors
-
AdaptiveColumn({double? gutter, double? margin, required List<
AdaptiveContainer> children, Key? key}) -
Creates a vertical array of children. Going from left to right and then
top to bottom.
const
Properties
-
children
→ List<
AdaptiveContainer> -
The List of
AdaptiveContainer
. Adaptive container neeeds to be used because the widget has a columnSpan parameter. This parameter represents the amount of columns this widget should incompass.final - gutter → double?
-
Represents the space between children.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → double?
-
Empty space at the left and right of this widget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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
-
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}) → 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited