showNotification method

void showNotification({
  1. required PanelyNotificationType type,
  2. required String title,
  3. String? description,
  4. dynamic autoCloseDuration = const Duration(seconds: 5),
})

Implementation

void showNotification({required PanelyNotificationType type, required String title, String? description, autoCloseDuration = const Duration(seconds: 5)}) => _notification.show(type: type, title: title, description: description, autoCloseDuration: autoCloseDuration);