Positioned constructor

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

Creates a positioned widget with paint order support.

Implementation

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