Languages and Tools:
handoing / flutter_page_router Goto Github PK
View Code? Open in Web Editor NEWA front-end develop-oriented Routing Manage library that route params, context less programmatic navigation and global hooks.
License: MIT License
A front-end develop-oriented Routing Manage library that route params, context less programmatic navigation and global hooks.
License: MIT License
run example error:
Launching lib/main.dart on iPhone Xส in debug mode...
Running Xcode build...
Xcode build done. 4.9s
Syncing files to device iPhone Xส...
flutter: โโโก EXCEPTION CAUGHT BY WIDGETS LIBRARY โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: The following assertion was thrown building MyApp(dirty):
flutter: Type NavigateService is already registered
flutter: 'package:get_it/get_it.dart':
flutter: Failed assertion: line 53 pos 12: 'allowReassignment || !_factories.containsKey(T)'
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2 GetIt.registerSingleton (package:get_it/get_it.dart:53:12)
flutter: #3 new PageRouterNav (package:flutter_page_router/page_router_nav.dart:10:11)
flutter: #4 new FlutterPageRouter (package:flutter_page_router/flutter_page_router.dart:21:31)
flutter: #5 routerInit (package:example/router/index.dart:51:30)
flutter: #6 MyApp.build (package:example/main.dart:12:32)
flutter: #7 StatelessElement.build (package:flutter/src/widgets/framework.dart:3974:28)
flutter: #8 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3924:15)
flutter: #9 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
flutter: #10 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2340:33)
flutter: #11 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:700:20)
flutter: #12 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5)
flutter: #13 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1016:15)
flutter: #14 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:958:9)
flutter: #15 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:784:7)
flutter: #17 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
flutter: #18 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
flutter: #19 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
flutter: (elided 3 frames from class _AssertionError and package dart:async-patch)
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.