dio
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user