showMaintenanceNotificationsPrefProvider top-level property

StateNotifierProvider<PreferenceNotifier<bool>, bool> showMaintenanceNotificationsPrefProvider
final

Provides the user's preference for showing maintenance reminder notifications

Implementation

final showMaintenanceNotificationsPrefProvider =
    StateNotifierProvider<PreferenceNotifier<bool>, bool>(
  (ref) => PreferenceNotifier.watchBool(
    ref,
    'show_maintenance_notifications',
    defaultValue: true,
  ),
);