ReactiveRowCol constructor
const
ReactiveRowCol({
- Key? key,
- required bool rowWhen(
- double screenWidth
- required bool colWhen(
- double screenWidth
- required List<
Widget> children(), - MainAxisAlignment rowMainAxisAlignment = MainAxisAlignment.start,
- MainAxisAlignment colMainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment rowCrossAxisAlignment = CrossAxisAlignment.start,
- CrossAxisAlignment colCrossAxisAlignment = CrossAxisAlignment.start,
- MainAxisSize rowMainAxisSize = MainAxisSize.max,
- MainAxisSize colMainAxisSize = MainAxisSize.max,
- VerticalDirection rowVerticalDirection = VerticalDirection.down,
- VerticalDirection colVerticalDirection = VerticalDirection.down,
- TextBaseline? rowTextbaseline,
- TextBaseline? colTextbaseline,
- TextDirection? rowTextDirection,
- TextDirection? colTextDirection,
- Key? rowKey,
- Key? colKey,
The code snippet is defining a constructor for the ReactiveRowCol class in Dart.
Implementation
const ReactiveRowCol({
Key? key,
required this.rowWhen,
required this.colWhen,
required this.children,
this.rowMainAxisAlignment = MainAxisAlignment.start,
this.colMainAxisAlignment = MainAxisAlignment.start,
this.rowCrossAxisAlignment = CrossAxisAlignment.start,
this.colCrossAxisAlignment = CrossAxisAlignment.start,
this.rowMainAxisSize = MainAxisSize.max,
this.colMainAxisSize = MainAxisSize.max,
this.rowVerticalDirection = VerticalDirection.down,
this.colVerticalDirection = VerticalDirection.down,
this.rowTextbaseline,
this.colTextbaseline,
this.rowTextDirection,
this.colTextDirection,
this.rowKey,
this.colKey,
}) : super(key: key);