onError property

Widget Function(Object error)? onError
final

A function used to display an error in case options future throws an exception.

Implementation

final Widget Function(Object error)? onError;