Spacer constructor

Spacer({
  1. int flex = 1,
})

Implementation

Spacer({int flex = 1})
    : assert(flex > 0),
      super(
        flex: flex,
        fit: FlexFit.tight,
        child: SizedBox.shrink(),
      );