recentMilestonesProvider top-level property
- @ProviderFor.new(recentMilestones)
final
Up to 6 most recent advancement events derived from allProgressProvider.
Heuristic: pick the latest progress rows with non-unstarted mastery,
sorted by lastStudiedAt (or updatedAt) descending. Topic titles are
resolved on the fly via getTopicById. If a streak ≥ 10 falls inside the
window it's added as an extra ochre milestone at the head.
Copied from recentMilestones.
Implementation
@ProviderFor(recentMilestones)
final recentMilestonesProvider =
AutoDisposeFutureProvider<List<Milestone>>.internal(
recentMilestones,
name: r'recentMilestonesProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null
: _$recentMilestonesHash,
dependencies: null,
allTransitiveDependencies: null,
);