height method
Implementation
Widget height(
double height, {
Key? key,
bool animate = false,
}) =>
animate
? _StyledAnimatedBuilder(
key: key,
builder: (animation) {
return _AnimatedConstrainedBox(
child: this,
constraints: BoxConstraints.tightFor(height: height),
duration: animation.duration,
curve: animation.curve,
);
},
)
: ConstrainedBox(
key: key,
child: this,
constraints: BoxConstraints.tightFor(height: height),
);