clean-code-dev / animated_splash_screen

The easiest way to create your animated splash screen in a fully customizable way.
MIT License
112 stars 25 forks source link

All route was down after import this package #37

Closed goldenmoon67 closed 2 years ago

goldenmoon67 commented 2 years ago

Exception has occurred. FlutterError (Could not find a generator for route RouteSettings("/MyTeamsScreen", null) in the _WidgetsAppState. Make sure your root app widget has provided a way to generate this route. Generators for routes are searched for in the following order:

  1. For the "/" route, the "home" property, if non-null, is used.
  2. Otherwise, the "routes" table is used, if it has an entry for the route.
  3. Otherwise, onGenerateRoute is called. It should return a non-null value for any valid route not handled by "home" and "routes".
  4. Finally if all else fails onUnknownRoute is called. Unfortunately, onUnknownRoute was not set.)
goldenmoon67 commented 2 years ago

my fault :)

spandan3001 commented 1 year ago

Exception has occurred. FlutterError (Could not find a generator for route RouteSettings("/MyTeamsScreen", null) in the _WidgetsAppState. Make sure your root app widget has provided a way to generate this route. Generators for routes are searched for in the following order:

  1. For the "/" route, the "home" property, if non-null, is used.
  2. Otherwise, the "routes" table is used, if it has an entry for the route.
  3. Otherwise, onGenerateRoute is called. It should return a non-null value for any valid route not handled by "home" and "routes".
  4. Finally if all else fails onUnknownRoute is called. Unfortunately, onUnknownRoute was not set.)

K

spandan3001 commented 1 year ago

DID YOU GET THE ANSWER

goldenmoon67 commented 1 year ago

actually It was really easy problem but I could not remember it. be sure you do everything true. It is not a problem. it is developer mistake. I remember like that.

goldenmoon67 commented 1 year ago

one more note. ıf you implemented any router package. use it to use splash screen as a first screen