StacPositioned.fill constructor

const StacPositioned.fill({
  1. double? left = 0.0,
  2. double? top = 0.0,
  3. double? right = 0.0,
  4. double? bottom = 0.0,
  5. required StacWidget? child,
})

Creates a StacPositioned object with left, top, right, and bottom set to 0.0 unless a value for them is passed.

Implementation

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