RenderIf constructor

const RenderIf({
  1. Key? key,
  2. required bool isTrue,
  3. required Widget child,
  4. Widget? elseRender,
})

Implementation

const RenderIf({
  Key? key,
  required this.isTrue,
  required this.child,
  this.elseRender,
}) : super(key: key);