height method

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

约束高度

Implementation

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