NotificationBar constructor

const NotificationBar({
  1. Key? key,
  2. required String messageText,
  3. required Color backgroundColor,
  4. IconData messageIcon = BootstrapIcons.exclamation_diamond_fill,
})

Implementation

const NotificationBar({
  Key? key,
  required String messageText,
  required Color backgroundColor,
  IconData messageIcon = BootstrapIcons.exclamation_diamond_fill,
})  : _messageText = messageText,
      _backgroundColor = backgroundColor,
      _messageIcon = messageIcon,
      super(key: key);