ZRow.withSpacing constructor

ZRow.withSpacing({
  1. Key? key,
  2. double spacing = 0.0,
  3. List<Widget> children = const <Widget>[],
  4. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  5. MainAxisSize mainAxisSize = MainAxisSize.max,
  6. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  7. TextDirection? textDirection,
  8. VerticalDirection verticalDirection = VerticalDirection.down,
  9. TextBaseline? textBaseline,
})

根据spacing长度分割内容的Row方法

Implementation

ZRow.withSpacing({
  super.key,
  double spacing = 0.0,
  List<Widget> children = const <Widget>[],
  super.mainAxisAlignment,
  super.mainAxisSize,
  super.crossAxisAlignment,
  super.textDirection,
  super.verticalDirection,
  super.textBaseline,}):super(children: Zui.addSeparated(children,spacing: spacing,direction: Axis.horizontal));