This commit is contained in:
Thibault Deckers 2022-01-21 12:03:26 +09:00
parent 20b1d3a15b
commit ab62d3ea28

View file

@ -28,5 +28,10 @@ void mainCommon(AppFlavor flavor) {
reportService.recordError(errorAndStacktrace.first, errorAndStacktrace.last);
}).sendPort);
// Errors during the widget build phase will show by default:
// - in debug mode: error on red background
// - in release mode: plain grey background
// This can be modified via `ErrorWidget.builder`
runApp(AvesApp(flavor: flavor));
}