Parallel constructor

Parallel({
  1. Direction direction = Direction.horizontal,
  2. SNumber leftMargin = const SNumber.number(0),
  3. SNumber topMargin = const SNumber.number(0),
  4. SNumber rightMargin = const SNumber.number(0),
  5. SNumber? width,
  6. SNumber? height,
  7. bool expandable = false,
  8. int expandStartIndex = 0,
  9. int expandCount = 0,
  10. num expandWidth = 30,
  11. List<ParallelAxis> axisList = const [],
  12. Color? backgroundColor,
  13. SNumber leftPadding = const SNumber.percent(5),
  14. SNumber topPadding = const SNumber.percent(5),
  15. SNumber rightPadding = const SNumber.percent(5),
  16. SNumber bottomPadding = const SNumber.percent(2),
  17. String id = '',
  18. bool show = true,
})

Implementation

Parallel({
  this.direction = Direction.horizontal,
  super.leftMargin,
  super.topMargin,
  super.rightMargin,
  super.width,
  super.height,
  this.expandable = false,
  this.expandStartIndex=0,
  this.expandCount = 0,
  this.expandWidth = 30,
  this.axisList = const [],
  this.backgroundColor,
  this.leftPadding=const SNumber.percent(5),
  this.topPadding=const SNumber.percent(5),
  this.rightPadding=const SNumber.percent(5),
  this.bottomPadding=const SNumber.percent(2),
  super.id,
  super.show,
});