Adding Screens
Creating Screen Files
Adding a new screen can be done in a couple of steps
Create a new folder, say
new_screen
and place it under/lib/views/
.Create a new file
new_screen.dart
within this folder.
Updating Route
Open the file
/lib/router.dart
import
newly created Screen into the Router
Last updated
Was this helpful?