fillMaxHeight method

Modifier fillMaxHeight()

Wrap the widget into an SizedBox Widget

force the the SizedBox to fillMaxHeight

Implementation

Modifier fillMaxHeight() {
  return Modifier._([
    ..._modifiers,
    (widget) {
      return SizedBox(
        height: double.infinity,
        child: widget,
      );
    }
  ]);
}