toPositioned method

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

Implementation

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