Questions tagged [routemaster]

5 questions
4
votes
3 answers

Flutter: how to listen to GoRouter's route / location changes in a Riverpod provider?

I am developing a Flutter application with go_router and riverpod for navigation and state management respectively. The app has a widget which displays a live camera feed, and I'd like to "switch it off" and free the camera when other pages are…
Michele
  • 2,148
  • 1
  • 9
  • 14
2
votes
1 answer

How to navigate between two Pages using the Drawer?

I'm fairly new to Flutter, and I'm trying to get some simple functionality working, but I'm having trouble. I want to be able to navigate between two pages using the Drawer. I am able to navigate from the home page to a second screen, but I am not…
Onjrew
  • 88
  • 1
  • 7
0
votes
0 answers

How to use uni_links to do deep linking and share user profile in flutter?

I am using uni_links package in flutter to enable deep linking so, I can add functionality to share user profile in my app. for this I have added this code to my AndroidManifest.xml
abhi jain
  • 41
  • 1
  • 5
0
votes
0 answers

.pop and .push are not working properly when I use .pop, the app doesn't return me to the home screen.dart

I m creating my own app but I m using this video like a guide to teach me https://www.youtube.com/watch?v=B8Sx7wGiY-s&t=167s. The thing is that I have a drawerlist.dart: ListTile( leading: const Icon(Icons.help), title: const…
-1
votes
1 answer

Routemaster replace is doing push

import 'package:flutter/material.dart'; import 'package:routemaster/routemaster.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { MyApp({Key? key}) : super(key: key); …
M. Massula
  • 3,730
  • 2
  • 11
  • 14