perf: defer initial data fetching to microtasks and update loading placeholders for smoother screen transitions
This commit is contained in:
1 parent
4a842e9098
commit
dea688194f
4 files changed
+34
-8
No files matched your search
@@ -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