onErrorFallback property

OnErrorFallback onErrorFallback
final

Fallback widget when there are uncaught errors during parsing or building.

Will be invoked when:

  • parseError is not null.
  • SyntaxTree.buildWidget throw an error.

Either case, this fallback function is invoked in build functions. So use with care.

Implementation

final OnErrorFallback onErrorFallback;