This commit is contained in:
quantulr
2023-02-08 23:48:25 +08:00
parent 53ff2fc59b
commit 1b88c226ad
14 changed files with 102 additions and 470 deletions

View File

@ -38,17 +38,6 @@ void main() async {
child: const MyApp(),
),
);
// runApp((child: MyApp(token: tk)));
// runApp(MultiProvider(
// providers: [
// ChangeNotifierProvider(
// create: (context) => Secret(),
// ),
// ],
// child: MyApp(
// token: tk,
// ),
// ));
}
class MyApp extends StatelessWidget {
@ -58,8 +47,6 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
// Provider.of<Secret>(context, listen: false).setToken(token);
return const MyMaterialApp();
}
}