Questions tagged [materialpageroute]
35 questions
0
votes
1 answer
Flutter Firebase: NoSQL data modelling subcollections reference
A newbie here.
I need help regarding Firebase sub collection referencing in a structured way where a user can select and pass information through sub collection.
=> Tournaments => Cities => Cairo => Year => High Goal => Team A
That goes like this…

Abbakayy
- 1
- 1
- 1
0
votes
1 answer
Use Navigator.push (MaterialPageRoute) in a class method
I'm building an app using Flutter to play music.
I created a Class called MusicService with all the music functionalities implemented in methods like playMusic, seekMusic, onAudioComplete and so on.
I have my TrackScreen that is built based on the…

Matteo Zantedeschi
- 35
- 5
0
votes
2 answers
MaterialPageRoute goes to a new page without the appbar using it with bottomNavigationBar
I have an app with three routes and uses the bottomNavigationBar to navigate between them. In one of the routes I have a button in the page that will also navigate to one of the pages.
Heres my main page
import…

Kagimura
- 397
- 1
- 7
- 20
0
votes
1 answer
Passing data from one screen to other screen in Flutter is null
I have two screen, from one i want to pass a title string to another screen. This title can be sign in or sign up, pre decided in first screen. What I have tried:
Container(
child: RaisedGradientButton(
onPressed: () {
print('Login…

maddy
- 4,001
- 8
- 42
- 65
-3
votes
1 answer
Navigator/MaterialPageRoute Missing Arguments Error
I have a BUTTON ,here is some code:
1
and i got the error like this:
I've never met an error like this, but when i add the 'dynamic' like this:

hutuzhu
- 3
- 6