Row constructor

Row({
  1. required List<FlintWidget> children,
  2. List<int> columnWidths = const [],
  3. double gap = 16.0,
  4. EdgeInsets? padding,
  5. EdgeInsets? margin,
  6. String? backgroundColor,
  7. BoxBorder? border,
  8. BorderRadius? borderRadius,
  9. String alignment = 'center',
  10. String? xData,
  11. String? xInit,
  12. String? xShow,
  13. Map<String, String>? xBind,
  14. Map<String, String>? xOn,
  15. String? xText,
  16. String? xHtml,
  17. String? xModel,
  18. String? xModelable,
  19. String? xFor,
  20. String? xTransition,
  21. String? xEffect,
  22. bool? xIgnore,
  23. String? xRef,
  24. bool? xCloak,
  25. String? xTeleport,
  26. bool? xIf,
  27. 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,
});