AppStatefulWidget constructor

AppStatefulWidget({
  1. AppConMVC? con,
  2. Key? key,
  3. Widget? loadingScreen,
  4. FlutterExceptionHandler? errorHandler,
  5. ErrorWidgetBuilder? errorScreen,
  6. ReportErrorHandler? errorReport,
  7. bool allowNewHandlers = true,
})

Implementation

AppStatefulWidget({
  AppConMVC? con,
  Key? key,
  this.loadingScreen,
  FlutterExceptionHandler? errorHandler,
  ErrorWidgetBuilder? errorScreen,
  v.ReportErrorHandler? errorReport,
  bool allowNewHandlers = true,
})  : _app = v.App(
        errorHandler: errorHandler,
        errorScreen: errorScreen,
        errorReport: errorReport,
        allowNewHandlers: allowNewHandlers,
      ),
      super(con: con, key: key) {
  // Listen to the device's connectivity.
  _app.addConnectivityListener(con);
  _app.setAppStatefulWidget(this);
}