popNav property

bool popNav
final

This controls if the back button should navigate to home screen or simply pop. The default is false meaning the back button will navigate to the home screen. In UI development, it is pop since it will lead to potential crash in mocked app otherwise.

Implementation

final bool popNav;