positioned method

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

Stack布局 位置

Implementation

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