onError property

Widget Function(Object error)? onError
final

The widget to build when the state is error.

Implementation

final Widget Function(Object error)? onError;