showIf method

Widget? showIf(
  1. bool condition
)

Implementation

Widget? showIf(bool condition) {
  if (condition) {
    return this;
  }
  return null;
}