TakeIfContainer constructor

const TakeIfContainer({
  1. Key? key,
  2. required bool condition,
  3. required Widget child(),
  4. Widget orElse()?,
})

Implementation

const TakeIfContainer({super.key, required this.condition, required this.child, this.orElse});