Nylo constructor

Nylo({
  1. NyRouter? router,
  2. bool useNyRouteObserver = true,
})

Create a new Nylo instance.

Implementation

Nylo({this.router, bool useNyRouteObserver = true})
    : _appLoader = CircularProgressIndicator(),
      _appLogo = SizedBox.shrink(),
      _navigatorObservers = useNyRouteObserver
          ? [
              NyRouteHistoryObserver(),
            ]
          : [];