expandedWith method

Expanded expandedWith(
  1. int flex
)

Wrap this widget with a Expanded Widget and specify a flex for it

Implementation

Expanded expandedWith(int flex) {
  return Expanded(flex: flex, child: this);
}