NiceConditional constructor

const NiceConditional({
  1. Key? key,
  2. required bool condition,
  3. required Widget child,
  4. Widget wrapper(
    1. Widget child
    )?,
  5. Widget? fallback,
})

Implementation

const NiceConditional({
  super.key,
  required this.condition,
  required this.child,
  this.wrapper,
  this.fallback,
});