position method

Widget position({
  1. double? left,
  2. double? top,
  3. double? right,
  4. double? bottom,
  5. double? width,
  6. double? height,
})

Implementation

Widget position({double? left, double? top, double? right, double? bottom, double? width, double? height}) => Positioned(
  left: left,
  top: top,
  right: right,
  bottom: bottom,
  width: width,
  height: height,
  child: this,
);