TResult constructor

const TResult({
  1. Key? key,
  2. String? title,
  3. Widget? titleWidget,
  4. String? subtitle,
  5. Widget? subtitleWidget,
  6. TResultStatus status = TResultStatus.info,
  7. dynamic icon,
  8. Color? iconColor,
  9. double iconSize = 64.0,
  10. Widget? primaryAction,
  11. Widget? secondaryAction,
  12. Widget? extra,
  13. bool fullPage = false,
  14. EdgeInsetsGeometry padding = const EdgeInsets.all(32.0),
})

Implementation

const TResult({
  super.key,
  this.title,
  this.titleWidget,
  this.subtitle,
  this.subtitleWidget,
  this.status = TResultStatus.info,
  this.icon,
  this.iconColor,
  this.iconSize = 64.0,
  this.primaryAction,
  this.secondaryAction,
  this.extra,
  this.fullPage = false,
  this.padding = const EdgeInsets.all(32.0),
});