notice method

void notice({
  1. required Color backgroundColor,
  2. required String text,
  3. required Color color,
  4. required Icon icon,
  5. Sector sector = Sector.topRight,
  6. bool toolbar = false,
})

Shows a default notification positioned by Sector.

Implementation

void notice({
  required Color backgroundColor,
  required String text,
  required Color color,
  required Icon icon,
  Sector sector = Sector.topRight,
  bool toolbar = false,
}) =>
    _streamController.add(_AnimatedNotice(
      backgroundColor: backgroundColor,
      text: text,
      color: color,
      icon: icon,
      sector: sector,
      toolbar: toolbar,
    ));