popUntilFirstScreenOnSelectedTabScreen static method
If you haven't defined a routeName for the first screen of the selected tab then don't use the optional property routeName
. Otherwise it may not work as intended
Implementation
static void popUntilFirstScreenOnSelectedTabScreen(final BuildContext context,
{final String? routeName}) =>
Navigator.popUntil(
context,
ModalRoute.withName(
routeName ?? "/9f580fc5-c252-45d0-af25-9429992db112"));