Partitions constructor Null safety

Partitions(
  1. {required List<Partition> children,
  2. MainAxisSize mainAxisSize = MainAxisSize.max}
)

Implementation

Partitions({
  required this.children,
  this.mainAxisSize = MainAxisSize.max,
})  : _context = _PartitionsContext(children.length),
      super();