toggle method

void toggle()

Implementation

void toggle() {
  _logger.info('Toggled');
  if (isFloating) {
    hide();
  } else {
    show();
  }
}