An inline message that does not interrupt user actions. Messages can be used to notify the user about something special: danger, success, information, or warning.


  title: "Congratulations!",
  text: "Your OS has been updated to the latest version. Current OS Version 4.3.17863.289",
  leftIcon: Icon(Icons.gpp_maybe, size: 20, color: _isDark ? XelaColor.Green10 : XelaColor.Green2),
  primaryColor: _isDark ? XelaColor.Green10 : XelaColor.Green2,
  secondaryColor: _isDark ? XelaColor.Gray11 : XelaColor.Gray7,
  background: _isDark ? XelaColor.Green1 : XelaColor.Green12,


Name Type Default Value Required Description
title String - YES Title for alert, may be empty for hide
text String - YES Text - caption for alert, may be empty for hide
leftIcon Widget? null NO Left Icon widget
rightWidget Widget? null NO Right widget
primaryColor Color XelaColor.Blue6 NO Primary (Accent) color for Alert
secondaryColor Color XelaColor.Gray7 NO Secondary color for Alert
background Color Colors.white NO Background for Alert