DefaultErrorPlaceholder constructor
const
DefaultErrorPlaceholder({
- Key? key,
- VoidCallback? onRetry,
- String message = 'Something went wrong',
Creates a DefaultErrorPlaceholder.
onRetry is called when the user taps the retry button. If null, the
button is not shown.
Implementation
const DefaultErrorPlaceholder({
super.key,
this.onRetry,
this.message = 'Something went wrong',
});