Spacer constructor

const Spacer({
  1. Key? key,
  2. int flex = 1,
})

Creates a Spacer with the given flex factor (default 1).

Implementation

const Spacer({super.key, this.flex = 1});