How to navigate to ViewNote from another screen
Closed this issue · 0 comments
akshatAgain commented
FlatButton(
minWidth: 200,
color: Colors.white,
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => //ViewNote
),
);
},
child: Text(
'Check your notes',
style: TextStyle(color: Colors.blue),
),
),