height method

Widget height([
  1. double value = double.infinity
])

Wraps the widget in a SizedBox to set its height.

Implementation

Widget height([double value = double.infinity]) =>
    SizedBox(height: value, child: this);