wait for init

This commit is contained in:
Henry Hiles 2026-02-08 12:15:05 -05:00
commit 672e187814
No known key found for this signature in database
3 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,11 @@
import "package:flutter_riverpod/flutter_riverpod.dart";
class InitCompleteController extends Notifier<bool> {
@override
bool build() => false;
void complete() => state = true;
static final provider = NotifierProvider<InitCompleteController, bool>(
InitCompleteController.new,
);
}