onError property
The Function onError it's the type Widget and receive the params context it's the type BuildContext and error it`s the type.
Implementation
final Widget Function(BuildContext context, dynamic error)? onError;
The Function onError it's the type Widget and receive the params context it's the type BuildContext and error it`s the type.
final Widget Function(BuildContext context, dynamic error)? onError;