useInviteUsers top-level property

StateNotifierProvider<PreferenceNotifier<bool>, bool> useInviteUsers
final

Provider to Enable Invite Users tab to shows the list of Invite Users”

This value is backed by a shared preference and will persist after the app closes.

Implementation

final useInviteUsers = StateNotifierProvider<PreferenceNotifier<bool>, bool>(
  (ref) => PreferenceNotifier.watchBool(
    ref,
    'inviteUsers',
    defaultValue: false,
  ),
);