ResponsiveColumnConfig class
A collection of ResponsiveColumn properties intended for use with
Breakpoints.
If span is provided, type is automatically set to
ResponsiveColumnType.span.
If span is provided and type is not ResponsiveColumnType.span, the
span is ignored and will be treated as a type column.
- Implemented types
Constructors
- ResponsiveColumnConfig({ResponsiveColumnType? type, int? span, int? offset, int? order, ResponsiveCrossAlignment? crossAxisAlignment})
-
Creates a definition for the display of a ResponsiveColumn
const
Properties
- crossAxisAlignment → ResponsiveCrossAlignment?
-
The alignment of this column within ResponsiveRow in the cross axis
(vertical direction).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → int?
-
The number of columns to offset (pushes from the left)
final
- order → int?
-
The position of this column within ResponsiveRow relative to the order
property of the other columns.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → int?
-
The number of columns to span
final
- type → ResponsiveColumnType?
-
The type of column which controls how it fills the row
final
Methods
-
compose(
List< ResponsiveColumnConfig> base, [ResponsiveColumnConfig fallback = const ResponsiveColumnConfig(type: ResponsiveColumnType.auto, span: 0, offset: 0, order: 0)]) → ResponsiveColumnConfig -
Creates a new
ResponsiveColumnConfigby composing non-null properties of this ontobases with any completely undefined properties taken fromfallbackoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited