position method

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

Positioned inside a Stack. badge.position(top: 0, right: 0)

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);