bool visible,
List<String> params
) List<String> params
Implement this callback in your element.
will be invoked each time when: your element is invisible and should become visible your element is visible and should become invisible * your element is visible and should stay visible, but params changed (see Routing parameters above)
Source
/// Implement this callback in your element.
///
/// will be invoked each time when:
/// * your element is invisible and should become visible
/// * your element is visible and should become invisible
/// * your element is visible and should stay visible, but params changed (see _Routing parameters_ above)
void routeChanged(bool visible, List<String> params);