flexible method

Niku flexible([
  1. int flex = 1
])

Apply Flexible to widget

Equivalent to

Flexible(
  flex: input
)

Implementation

Niku flexible([int flex = 1]) => Niku(
      Flexible(
        child: this._widget,
        flex: flex,
      ),
    );