/toastino

Toast component by mkII

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

toastino

Toast component written in AngularDart. Provides clear and easy to use notifying system.

Usage

  1. Create a new ToastManagerComponent in your class in this way:

     ToastManagerComponent _toastManager;
    
      ToastinoExampleComponent(ComponentLoader toastComponentLoader, ViewContainerRef viewContainerRef){
           _toastManager = new ToastManagerComponent(toastComponentLoader, viewContainerRef);
      }
  2. Call ToastManager's newToast method to create a new toast.

     _toastManager.newToast(title, callback);

Libraries

  • toast_manager_component - The core of Toastino: it keeps trace of every toast created and manages their positioning and removal.