perf: defer initial data fetching to microtasks and update loading placeholders for smoother screen transitions
This commit is contained in:
@@ -122,7 +122,7 @@ class FaqState {
|
||||
|
||||
class FaqNotifier extends StateNotifier<FaqState> {
|
||||
FaqNotifier() : super(const FaqState()) {
|
||||
_load();
|
||||
Future.microtask(_load);
|
||||
}
|
||||
|
||||
Future<void> _load() async {
|
||||
|
||||
Reference in New Issue
Block a user