show method

void show()

Implementation

void show() {
  if (duration != null) {
    Timer(duration!, () {
      Asuka.hideCurrentMaterialBanner();
    });
  }
  Asuka.showMaterialBanner(this);
}