widgets Interfaces, Classes, Traits and Enums Alert Alert widget renders a message from session flash. All flash messages are displayed in the sequence they were assigned using setFlash. You can set message as following: