positioned method

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

Wraps the widget in a Positioned widget for use in a Stack.

Implementation

Widget positioned({
  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,
    );