showIf method

Widget showIf(
  1. bool condition
)

Implementation

Widget showIf(bool condition) {
  return condition ? this : const SizedBox.shrink();
}