Partition constructor

Partition({
  1. required SpanningWidget child,
  2. double? width,
  3. int flex = 1,
})

Implementation

Partition({
  required this.child,
  this.width,
  int flex = 1,
}) : flex = width == null ? flex : 0;