removed default route in generateRoute
This commit is contained in:
parent
1f5558bef4
commit
a3945c6777
1 changed files with 3 additions and 1 deletions
|
@ -128,10 +128,12 @@ class RouteGenerator {
|
|||
return MaterialPageRoute(builder: (context) => YearInstructionPage());
|
||||
}
|
||||
default: {
|
||||
return MaterialPageRoute(builder: (context) => YearsPage());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue