src/Flash.php
public function create($title, $message, $level = 'info', $key = 'flash_message')
    {
        $this->session->flash($key, [
            'title'   => $title,
            'message' => $message,
            'level'   => $level,
        ]);

        return $this;
    }
public function create($title, $message, $level = 'info', $key = 'flash_message')
    {
        $this->session->flash($key, [
            'title'   => $title,
            'message' => $message,
            'level'   => $level,
        ]);

        return $this;
    }
Create a flash message.

@param string $title
@param string $message
@param string $key

@return $this