get_stacked 1.0.2 get_stacked: ^1.0.2 copied to clipboard
An implementation of the Stacked package using Get. It gives you all the amazing utility classes from the Stacked package but without the dependency on provider.
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'ui/router.dart';
void main() {
// setupLocator();
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GetMaterialApp(
title: 'Flutter Demo',
theme: ThemeData(),
getPages: Router.namedRoutes,
unknownRoute: Router.errorRoute,
);
}
}