Created
June 22, 2019 09:32
-
-
Save DaniyarGilimov/a317c8e59d98c5ccd7cd4a6e17c7ef49 to your computer and use it in GitHub Desktop.
Navigator and MaterialPageRoute
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
Widget build(BuildContext context) { | |
return Navigator( | |
onGenerateRoute: (RouteSettings settings) { | |
return new MaterialPageRoute( | |
settings: settings, | |
builder: (BuildContext context) { | |
return Scaffold( | |
//List {Математика, Английский язык...} | |
); | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment