ResponsiveRow.withAutoColumns constructor
- double? xxs = 1,
- double? xs = 2,
- double? sm = 3,
- double? md = 3,
- double? lg = 4,
- double? xl = 6,
- double? xxl = 12,
- dynamic children = const [],
- WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
- double totalSegments = 12,
- double horizontalSpacing = 0,
- double runSpacing = 0,
- double? columnHeight,
- double? columnMaxHeight,
- double? columnMinHeight,
- Axis direction = Axis.horizontal,
- VerticalDirection verticalDirection = VerticalDirection.down,
- TextDirection textDirection = TextDirection.ltr,
- WrapAlignment alignment = WrapAlignment.start,
- WrapAlignment runAlignment = WrapAlignment.start,
Create a ResponsiveRow with a specific number of columns in each ScreenTier
and wraps children
into ResponsiveColumns automatically
Implementation
factory ResponsiveRow.withAutoColumns({
double? xxs = 1,
double? xs = 2,
double? sm = 3,
double? md = 3,
double? lg = 4,
double? xl = 6,
double? xxl = 12,
dynamic children = const [],
WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
double totalSegments = 12,
double horizontalSpacing = 0,
double runSpacing = 0,
double? columnHeight,
double? columnMaxHeight,
double? columnMinHeight,
Axis direction = Axis.horizontal,
VerticalDirection verticalDirection = VerticalDirection.down,
TextDirection textDirection = TextDirection.ltr,
WrapAlignment alignment = WrapAlignment.start,
WrapAlignment runAlignment = WrapAlignment.start,
}) =>
ResponsiveRow.withColumns(
xxs: xxs,
xs: xs,
sm: sm,
md: md,
lg: lg,
xl: xl,
xxl: xxl,
children: children,
crossAxisAlignment: crossAxisAlignment,
totalSegments: totalSegments,
horizontalSpacing: horizontalSpacing,
runSpacing: runSpacing,
columnHeight: columnHeight,
columnMaxHeight: columnMaxHeight,
columnMinHeight: columnMinHeight,
direction: direction,
verticalDirection: verticalDirection,
textDirection: textDirection,
alignment: alignment,
runAlignment: runAlignment,
);