Navigate and pass data to the detail screen.
Read moreHow do you use the Navigator key in Flutter?
A key to use when building the Navigator. If a navigatorKey is specified, the Navigator can be directly manipulated without first obtaining it from a BuildContext via Navigator. of: from the navigatorKey, use the GlobalKey. currentState getter .
Read moreHow do you navigate without context on Flutter?
How to navigate without context in Flutter?
Read more