Simple way to create your own splash screen.
Just use Simple_splashScreen widget. It requires the folllowing parameters. context, splashscreenWidget, gotoWidget, timerInSeconds.
Now one need not write init method, and call Timer method to navigate to the other widget.
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.