DefaultEmptyWidget constructor
const
DefaultEmptyWidget({
- Key? key,
- required VoidCallback onRetry,
- String message = 'No data available',
- IconData? icon,
- bool showRetryButton = true,
Creates a DefaultEmptyWidget.
Implementation
const DefaultEmptyWidget({
super.key,
required this.onRetry,
this.message = 'No data available',
this.icon,
this.showRetryButton = true,
});