EmptyView constructor
const
EmptyView({
- Key? key,
- required Widget widget,
- bool? loading = false,
- bool? empty = false,
- bool? error = false,
- Widget? emptyImage,
- Widget? errorImage,
- Widget? loadingWidget,
- Widget? emptyTitle,
- ButtonStyle? buttonStyle,
- ButtonStyle? emptyButtonStyle,
- Widget? emptyButtonChild,
- VoidCallback? emptyPressed,
- Widget? emptyContent,
- Widget? errorTitle,
- Widget? errorContent,
- ButtonStyle? errorButtonStyle,
- Widget? errorButtonChild,
- VoidCallback? errorPressed,
- Widget? loadingTitle,
- Color? color,
- double? imageSize = 200.0,
- double? loadingSize,
Implementation
const EmptyView({
Key? key,
required this.widget,
this.loading = false,
this.empty = false,
this.error = false,
this.emptyImage,
this.errorImage,
this.loadingWidget,
this.emptyTitle,
this.buttonStyle,
this.emptyButtonStyle,
this.emptyButtonChild,
this.emptyPressed,
this.emptyContent,
this.errorTitle,
this.errorContent,
this.errorButtonStyle,
this.errorButtonChild,
this.errorPressed,
this.loadingTitle,
this.color,
this.imageSize = 200.0,
this.loadingSize,
}) : super(key: key);