statusMessages method
Implementation
List<Widget> statusMessages(BuildContext context) {
List<Widget> res = [];
res.add(
StatusMessage(message: "Info (primary)", alertType: AlertType.info));
res.add(Gap(orientation: PumaOrientation.vertical));
res.add(StatusMessage(
message: "Neutral (outline)", alertType: AlertType.neutral));
res.add(Gap(orientation: PumaOrientation.vertical));
res.add(StatusMessage(
message: "Success (tertiary)", alertType: AlertType.success));
res.add(Gap(orientation: PumaOrientation.vertical));
res.add(StatusMessage(
message: "Warning (scrim)", alertType: AlertType.warning));
res.add(Gap(orientation: PumaOrientation.vertical));
res.add(
StatusMessage(message: "Error (error)", alertType: AlertType.error));
return res;
}