Cleaned up idk
This commit is contained in:
@@ -10,13 +10,13 @@ class MyApp extends StatefulWidget {
|
||||
const MyApp({super.key});
|
||||
|
||||
@override
|
||||
State<MyApp> createState() => _MyAppState();
|
||||
State<MyApp> createState() => MyAppState();
|
||||
|
||||
static _MyAppState of(BuildContext context) =>
|
||||
context.findAncestorStateOfType<_MyAppState>()!;
|
||||
static MyAppState of(BuildContext context) =>
|
||||
context.findAncestorStateOfType<MyAppState>()!;
|
||||
}
|
||||
|
||||
class _MyAppState extends State<MyApp> {
|
||||
class MyAppState extends State<MyApp> {
|
||||
ThemeMode _theme = ThemeMode.system;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user