Widget.spacer constructor Null safety

const Widget.spacer(
  1. {Key? key,
  2. @Default(1) int flex}
)

Implementation

const factory Widget.spacer({
  Key? key,
  @Default(1) int flex,
}) = Spacer;