Created
November 22, 2022 04:02
-
-
Save LucasFebatis/2e6193b20f04057e5276a210a8fce174 to your computer and use it in GitHub Desktop.
Chamando nova tela no Flutter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goToSuperHeroPage(SuperHero superHero) { | |
Navigator.push( | |
context, | |
MaterialPageRoute( | |
builder: (context) => SuperHeroPage(superHero: superHero)), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment