-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
hello @letsdoit07
thanks to share with us this tutorial , it was so helpful.
i want to routes the button which is in landingpage, to take me to other page ,
`
Padding(
padding: const EdgeInsets.symmetric(vertical: 30.0),
child: Text(
"Le meilleur endroit où vous pouvez........",
style: GoogleFonts.questrial(
fontSize: 20.0,color: Colors.grey),
),
),
MaterialButton(
color: Colors.blue[900],
splashColor: Colors.blue[200],
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(30.0)),
),
onPressed: (){
Navigator.of(context).pushNamed('/logingpage');
},
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 15.0,horizontal: 25.0),
child: Text(
"Log In",
style: GoogleFonts.questrial(
color: Colors.white,
fontSize: 25.0
),
),
),
),
`
but the context claims that the context is undefined.
i appreciate it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels