Positioned constructor

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

Implementation

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