EzSpacer.swap constructor

EzSpacer.swap(
  1. double space, {
  2. required bool limitedSpace,
})

SizedBox with height or width space based on limitedSpace

Implementation

EzSpacer.swap(this.space, {required bool limitedSpace})
    : super(
        height: limitedSpace ? space : null,
        width: limitedSpace ? null : space,
      );