Positioned.fill constructor

const Positioned.fill({
  1. Key? key,
  2. double? left = 0.0,
  3. double? top = 0.0,
  4. double? right = 0.0,
  5. double? bottom = 0.0,
  6. int? paintOrder,
  7. required Widget child,
})

Creates a Positioned with all edges set to 0.0 unless specified.

Implementation

const Positioned.fill({
  super.key,
  this.left = 0.0,
  this.top = 0.0,
  this.right = 0.0,
  this.bottom = 0.0,
  this.paintOrder,
  required super.child,
})  : width = null,
      height = null;