Comments (1)
Like:
Get.toNamed("/article/:articleID");
You can easily pass data between named routes using arguments. The implementation of named URL segments ": articleID" is nice, but for now not possible due to Dart limitations, version 2.6 will bring extensions, which is a kickoff for this to be possible. However, you can be sure that as soon as you can create this, I will.
While this is not possible, you can do the following:
Get.toNamed('/profile', arguments: {"user_id:"1"})
on Router class:
GetRoute(settings: settings, builder: (_) => Profile(data: settings.arguments));
on Profile class:
class Profile extends StatelessWidget{
final data;
(...)
from getx.
Related Issues (20)
- RTL Icon Padding Issue in Get.rawSnackbar() HOT 1
- PosScope in IOS while using Getx Route management. HOT 7
- Get.to 为什么在第一次跳转的时候当前route没有过渡效果 HOT 1
- Flutter getx trparams (@ variables substitution) does not work for Hebrew locale. Reported in StackOverflow.com HOT 3
- get.snackbar's selfsize HOT 3
- Hot reload does not work in Windows HOT 4
- getx update not trigger ui refresh in time HOT 1
- RouterReportManager base on _current to delete Controller is Not a good idae HOT 3
- same page transition issue
- XMLHttpRequest error in get request (web ) HOT 1
- how get GetMaterialApp instance?
- Null check exception HOT 2
- 无法访问pub.dev HOT 10
- Getx Deeplink Issue when app terminate HOT 3
- Target dart2wasm failed
- Flutter web not working at all HOT 14
- Deep links in dynamic route parameters don't work on cold launch or if the app is not in memory. HOT 3
- Regarding routing issues
- GetMaterialApp debugShowCheckedModeBanner:false not working
- Alive Getx Controller in killed state
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 getx.