onInit abstract method
this method will be called once before render the widget and can be used to get the arguments or settings of the current route
Implementation
void onInit(RouteSettings settings);
this method will be called once before render the widget and can be used to get the arguments or settings of the current route
void onInit(RouteSettings settings);