SplashScreen constructor

const SplashScreen({String title: '', String nextRouteName: '', MaterialPageRoute nextRoute, List<Function> loadFunctions: const [] })

Implementation

const SplashScreen({this.title = '', this.nextRouteName = '', this.nextRoute, this.loadFunctions = const []})
    : assert(nextRouteName != '' || nextRoute == null, _nextRouteEmpty),
      assert(!(nextRouteName ?? '' != '' && nextRoute == null), _nextRouteTwice);