currentProfileProvider top-level property
- @ProviderFor.new(currentProfile)
final
Cached profile fetch used by the onboarding gate. Kept alive so the gate does not re-fetch on every rebuild. Invalidated in main.dart on sign-out and by screens that mutate onboarding state.
Copied from currentProfile.
Implementation
@ProviderFor(currentProfile)
final currentProfileProvider =
AutoDisposeFutureProvider<ProfileModel?>.internal(
currentProfile,
name: r'currentProfileProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null
: _$currentProfileHash,
dependencies: null,
allTransitiveDependencies: null,
);