fix(bootstraper): invalid place to dispatch onCompleted

This commit is contained in:
hdbg
2025-10-10 15:20:54 +02:00
parent 85f06c3785
commit 1352fd5513
3 changed files with 16 additions and 9 deletions

View File

@@ -7,13 +7,14 @@ export 'package:markettakers/src/bootstrapper.dart'
final talker = Talker();
final commonTheme = ThemeData(
final ThemeData commonTheme = ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.deepPurple,
brightness: Brightness.dark,
).copyWith(secondary: Colors.deepPurpleAccent),
secondary: Colors.deepPurpleAccent,
),
);
void init() async {
Future<void> init() async {
await RiveNative.init();
}