ConditionalView constructor

ConditionalView(
  1. bool showView,
  2. ViewBuilderFunc view, {
  3. Key? key,
})

Implementation

ConditionalView(
  bool showView,
  ViewBuilderFunc view, {
  Key? key,
}) : super(
        showView,
        view,
        () => const SizedBox.shrink(),
        key: key,
      );