BottomBarIcon.withNotification constructor

BottomBarIcon.withNotification({
  1. required Icon icon,
  2. required Text notificationLabel,
  3. required Color notificationColor,
  4. double? top,
  5. double? right,
})

Implementation

factory BottomBarIcon.withNotification({
  required Icon icon,
  required Text notificationLabel,
  required Color notificationColor,
  double? top,
  double? right,
}) =>
    BottomBarIcon(
      icon: icon,
      top: top,
      right: right,
      notificationLabel: notificationLabel,
      notificationColor: notificationColor,
    );