all 0.0.3
all: ^0.0.3 copied to clipboard
A plugin to help in all type development in flutter.
import 'dart:async';
import 'package:all/all.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await GlobalContextInitializer().initialize();
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp.router(
routerConfig: AppRouter.router,
// navigatorKey: navigatorKey,
// home: Home(),
);
}
}
// DetailsPage.dart