Row constructor
Row({
- required List<
FlintWidget> children, - List<
int> columnWidths = const [], - double gap = 16.0,
- EdgeInsets? padding,
- EdgeInsets? margin,
- String? backgroundColor,
- BoxBorder? border,
- BorderRadius? borderRadius,
- String alignment = 'center',
- String? xData,
- String? xInit,
- String? xShow,
- Map<
String, String> ? xBind, - Map<
String, String> ? xOn, - String? xText,
- String? xHtml,
- String? xModel,
- String? xModelable,
- String? xFor,
- String? xTransition,
- String? xEffect,
- bool? xIgnore,
- String? xRef,
- bool? xCloak,
- String? xTeleport,
- bool? xIf,
- String? xId,
Creates a new Row widget for horizontal layout.
By default, children share equal widths, and spacing between them
is controlled via gap.
Implementation
Row({
required this.children,
this.columnWidths = const [],
this.gap = 16.0,
this.padding,
this.margin,
this.backgroundColor,
this.border,
this.borderRadius,
this.alignment = 'center',
super.xData,
super.xInit,
super.xShow,
super.xBind,
super.xOn,
super.xText,
super.xHtml,
super.xModel,
super.xModelable,
super.xFor,
super.xTransition,
super.xEffect,
super.xIgnore,
super.xRef,
super.xCloak,
super.xTeleport,
super.xIf,
super.xId,
});