showIf method

Widget showIf(
  1. bool condition
)

Show/Hide conditionally

Implementation

Widget showIf(bool condition) => condition ? this : const SizedBox.shrink();