Comments (7)
Agreed. We need a router, haven't built one yet. @Hixie has been collecting thoughts on URL handling designs here: https://docs.google.com/document/d/1LTdcq3a0d2qCRzUz5tpU62U3HVkxwHJtMKYgc6cVEPU
from flutter.
Can you elaborate on what you mean by "page transition" and "routes"?
from flutter.
Router terminology is from Angular: https://docs.angularjs.org/tutorial/step_07
It is a way to build a single-root app where there is a content node which is replaced based on the URL. Something like:
http://myweb.io/main.html -> main page, renders header, footer and content = the initial landing page.
http://myweb.io/main.html#tasks -> header, footer remains, content = tasks page.
http://myweb.io/main.html#tasks/edit/1 -> edit task with id 1; example of a route with params.
Page transition is how you jump from one route to next. Say, landing page should fade out and tasks page should fade in. I had done some experiments on mobile web and this was one of the problematic areas in performance. So I wanted to build a stocks detail page in the sample stocks app and transition to it when a stock row is tapped.
from flutter.
This concept is akin to intents and activities in Android. You can specify what kind of transition you want.
from flutter.
Yeah, this stuff is still very much in the air. You can see our current incomplete thoughts here:
https://github.com/domokit/mojo/blob/master/sky/specs/linkability.md
(That's the doc @eseidelGoogle linked to earlier, I just hadn't put it in github yet.)
I filed https://github.com/domokit/mojo/issues/174 to track this.
from flutter.
We now have this feature in the Navigator
widget. It's used in several of the examples, include Stocks and Fitness.
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- win-4 is dead. HOT 3
- [path_provider_foundation] Add Swift Package Manager compatibility to path_provider_foundation
- [pointer_interceptor_ios] Add Swift Package Manager compatibility to pointer_interceptor_ios
- [quick_actions_ios] Add Swift Package Manager compatibility to quick_actions_ios
- [url_launcher] Add Swift Package Manager compatibility to url_launcher_ios and url_launcher_macos
- [webview_flutter_wkwebview] Add Swift Package Manager compatibility to webview_flutter_wkwebview
- [shared_preferences_foundation] Add Swift Package Manager compatibility to shared_preferences_foundation
- [image_picker_ios] Add Swift Package Manager compatibility to image_picker_ios
- [google_maps_flutter_ios] Add Swift Package Manager compatibility to google_maps_flutter_ios
- [video_player_avfoundation] Add Swift Package Manager compatibility to video_player_avfoundation
- ☂️ Add Swift Package Manager compatibility to iOS and macOS plugins
- Greenhouse to Flight School device move staging and prod Phase 2 HOT 1
- monitoring and messaging devicelab minimum quantity requirements for prod/staging/try pools
- [image_picker] Kotlin code with `internal` or `private` visibility should not be referenced from Java code.
- mac-9 lost external connection phone device. HOT 1
- mac-21 is dead.
- [image_picker_android] Update documentation to note that photo picker override has no effect on latest Android versions
- [Android][camera] Update documentation to note how to allow image streaming in the background
- go_router: Back Button Not Displayed on First Sub-Route within ShellRoute HOT 2
- [go_router]: Bad state: Future already completed on go or goNamed after pop #123369 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.