# Flash

Preview

  1. Success
  2. Error
  3. Warning
  4. Info

# success

/**
* Add success Toaster
*
* @param string $message Message diplayed
*
* @return \Webup\LaravelHelium\Core\Classes\HeliumFlash
*/
public function success(string $message);

# Example

Helium::flash()->success("Your success message");

# error

/**
* Add error Toaster
*
* @param string $message Message diplayed
*
* @return \Webup\LaravelHelium\Core\Classes\HeliumFlash
*/
public function error(string $message);

# Example

Helium::flash()->error("Your error message");

# warning

/**
* Add warning Toaster
*
* @param string $message Message diplayed
*
* @return \Webup\LaravelHelium\Core\Classes\HeliumFlash
*/
public function warning(string $message);

# Example

Helium::flash()->warning("Your warning message");

# info

/**
* Add info Toaster
*
* @param string $message Message diplayed
*
* @return \Webup\LaravelHelium\Core\Classes\HeliumFlash
*/
public function info(string $message);

# Example

Helium::flash()->info("Your info message");