toggle static method

void toggle(
  1. BuildContext context
)

Implementation

static void toggle(BuildContext context) {
  if (_entry != null) {
    hide();
  } else {
    show(context);
  }
}