CenterBody constructor

const CenterBody({
  1. Widget? icon,
  2. IconData? iconData,
  3. String? message,
  4. String? actionText,
  5. void onActionPressed()?,
  6. Widget? child,
  7. Key? key,
})

Implementation

const CenterBody({
  this.icon,
  this.iconData,
  this.message,
  this.actionText,
  this.onActionPressed,
  this.child,
  super.key,
}) : assert(icon != null || iconData != null || message != null || child != null);