Flutter #day18

Photo by Jack B on Unsplash

Flutter #day18

ยท

1 min read

  • routes: a map used to map screens with the key.

    • after declaring routes we should use initialRoute: 'key for initial route', instead of home: ScreenName(), having these two together will lead to a contradicting state.
ย