Supply an Exception object from the startup error.
AppError(Object exception, {Key? key}) : super(home: _AppError(exception, key: key));