errorBuilder property

Widget Function(BuildContext context, T? data, StatefulDataError? error)? errorBuilder
final

A function that build a widget in case of error.

Current data instance and error are provided in parameters of this callback function.

Implementation

final Widget Function(
    BuildContext context, T? data, StatefulDataError? error)? errorBuilder;