PlaceholderText constructor

const PlaceholderText({
  1. Key? key,
  2. required Widget childBuilder(
    1. BuildContext
    ),
  3. required PlaceholderState state,
  4. String? errorText,
  5. void onRefresh()?,
  6. void onRetryForNothing()?,
  7. void onRetryForError()?,
  8. PlaceholderStateChangedCallback? onChanged,
  9. 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);