height method

Widget height(
  1. double hei
)

高度扩展

Implementation

Widget height(double hei) {
  return SizedBox(
    height: hei,
    child: this,
  );
}