onError property

ValueChanged? onError
final

This function will be called if any error occurs. It will receive the error data which could be some Exception or Error

Implementation

final ValueChanged<dynamic>? onError;