width method

Widget width(
  1. double width, {
  2. Key? key,
})

约束宽度

Implementation

Widget width(
  double width, {
  Key? key,
}) =>
    constrained(
      key: key,
      width: width,
    );