onRoute method

void onRoute(
  1. String screenId
)

This method will be called when user navigate to a route

Implementation

void onRoute(String screenId) {}