showNotification method

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

Implementation

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