AppStatefulWidget constructor
AppStatefulWidget({
- AppConMVC? con,
- Key? key,
- Widget? loadingScreen,
- FlutterExceptionHandler? errorHandler,
- ErrorWidgetBuilder? errorScreen,
- ReportErrorHandler? errorReport,
- 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);
}