refactor: update providers to use keepAlive for enhanced state management
- Changed multiple provider annotations to `@Riverpod(keepAlive: true)` to improve state retention and management across the application. - This update aligns with recent enhancements in state management practices, ensuring better performance and user experience throughout the app.
This commit is contained in:
@@ -212,7 +212,7 @@ class AnimationService {
|
||||
enum PageTransitionType { fade, slide, scale }
|
||||
|
||||
/// Provider for reduced motion preference
|
||||
@riverpod
|
||||
@Riverpod(keepAlive: true)
|
||||
class ReducedMotion extends _$ReducedMotion {
|
||||
@override
|
||||
bool build() => false;
|
||||
|
||||
Reference in New Issue
Block a user