truesight_flutter 2312.18.0 truesight_flutter: ^2312.18.0 copied to clipboard
Truesight core library for Flutter applications
truesight_flutter #
A new Flutter project.
Getting Started #
To install this package:
flutter pub add truesight_flutter go_router truesight_core dio dio_cookie_manager
Usage #
- Define a
routes.dart
file:
void registerRoutes() {
registerRoute(HomePage, "/home");
registerRoute(ProfilePage, "/profile");
// Register all routes here
}
- Call the
registerRoutes()
method inmain()
:
void main() {
WidgetFlutterBinding.ensureInitialized();
//
registerRoutes();
//
runApp(MainApp());
}
- To route to a page:
GoRouter.of(context).push(getRoutingKey(
HomePage,
pathParameters: {'id': 1},
queryParameters: {'file': 'test.docx'}
));
Additional information #
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.