SafaehAsyncBody constructor
const
SafaehAsyncBody({
- Key? key,
- required bool isLoading,
- Object? error,
- StackTrace? stackTrace,
- bool isEmpty = false,
- required WidgetBuilder data,
- WidgetBuilder? loading,
- Widget errorBuilder(
- BuildContext context,
- Object error,
- StackTrace? stack
- WidgetBuilder? empty,
Implementation
const SafaehAsyncBody({
super.key,
required this.isLoading,
this.error,
this.stackTrace,
this.isEmpty = false,
required this.data,
this.loading,
this.errorBuilder,
this.empty,
});