PlaceholderText constructor
const
PlaceholderText({
- Key? key,
- required Widget childBuilder(),
- required PlaceholderState state,
- String? errorText,
- void onRefresh()?,
- void onRetryForNothing()?,
- void onRetryForError()?,
- PlaceholderStateChangedCallback? onChanged,
- PlaceholderSetting? setting,
Creates PlaceholderText with state.
Implementation
const PlaceholderText({
Key? key,
required this.childBuilder,
required this.state,
this.errorText,
this.onRefresh,
this.onRetryForNothing,
this.onRetryForError,
this.onChanged,
this.setting,
}) : super(key: key);