expanded method

  1. @widgetFactory
Widget expanded([
  1. int flex = 1
])

Sizes this widget so that it fills the available space within its parent Row, Column, or Flex widget.

Implementation

@widgetFactory
Widget expanded([int flex = 1]) {
  return this.flex(flex, fit: FlexFit.tight);
}