Adding a dynamic string to ContentArea #493
Unanswered
GhekkoDeveloper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On a PushButton the action is to open a new MacosScaffold with a ContentArea.
ContentArea( builder: (context, _) { return Center( child: PushButton( controlSize: ControlSize.regular, child: const Text('Go Back'), onPressed: () { Navigator.of(context).maybePop(); }, ), ); }, ),
In a current project i'm working with dynamic strings to create pages.
On Android and Ios i'm able to use them like this:
onPressed: () { Navigator.pushNamed( context, Tab1Item1.routeTab1Items, arguments: index); },
Any idea on how I can use this on the "return" of the ContentArea?
Beta Was this translation helpful? Give feedback.
All reactions