Navigating to a page using Dart/Flutter code and Flutterflow

Widgets & Design

Hello,

I see various ways to navigate to a page using Dart/Flutter code but I can not seem to make it work.

I came across this video:

https://www.youtube.com/watch?v=-PbOmjEsKxE

by Dimitar Klarutov, where he says he uses the package go_router but he uses the command context.pushnamed to navigate to a page while I see the go router documentation uses the command context.go (https://pub.dev/packages/go_router/example)

Anyway, does anyone know of a way to navigate to a page using code? Since what I am trying is not working for some reason ๐Ÿ˜ž

What have you tried so far?

Tried implementing it

Did you check FlutterFlow's Documentation for this topic?
Yes
2 replies