📦 Installation
Add GoRouter Modular to your Flutter project in just a few steps.
Add Dependencies
Add the following to your pubspec.yaml
file:
pubspec.yaml
dependencies:
flutter:
sdk: flutter
go_router_modular: ^4.0.0
or
flutter pub add go_router_modular
Install Packages
flutter pub get
Import in Dart Files
import 'package:go_router_modular/go_router_modular.dart';
Platform Support
GoRouter Modular works on all Flutter platforms:
Platform | Support | Status |
---|---|---|
📱 Mobile | iOS & Android | ✅ Full Support |
🌐 Web | Progressive Web Apps | ✅ Full Support |
🖥️ Desktop | Windows, macOS, Linux | ✅ Full Support |
:::tip[🎉 Success!]
If the test passes, GoRouter Modular is installed correctly and ready to use!
:::
:::info[🚀 Next Steps]
Now that you have GoRouter Modular installed, let's create your first modular application!
:::
:::note[📚 Related Documentation]
Check out the next topics to learn more:
:::
import DocCardList from '@theme/DocCardList';
<DocCardList />