comment
This commit is contained in:
parent
20b1d3a15b
commit
ab62d3ea28
1 changed files with 5 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue