errorHandler property

BrowsingExceptionHandler? errorHandler
final

A custom callback that will be called when an FMTCBrowsingError is thrown

If no value is returned, the error will be (re)thrown as normal. However, if a Uint8List, that will be displayed instead (decoded as an image), and no error will be thrown.

Implementation

final BrowsingExceptionHandler? errorHandler;