showConnectionNotificationsPrefProvider top-level property

StateNotifierProvider<PreferenceNotifier<bool>, bool> showConnectionNotificationsPrefProvider
final

Provides the user's preference for showing connection notifications

Implementation

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