TResult.serverError constructor

const TResult.serverError({
  1. Key? key,
  2. String? title = '500 Server Error',
  3. Widget? titleWidget,
  4. String? subtitle = 'Internal system error occurred. Our engineering team has been notified.',
  5. Widget? subtitleWidget,
  6. dynamic icon,
  7. Color? iconColor,
  8. double iconSize = 64.0,
  9. Widget? primaryAction,
  10. Widget? secondaryAction,
  11. Widget? extra,
  12. bool fullPage = false,
  13. EdgeInsetsGeometry padding = const EdgeInsets.all(32.0),
})

500 Internal Server Error preset (cloud error breakdown).

Implementation

const TResult.serverError({
  super.key,
  this.title = '500 Server Error',
  this.titleWidget,
  this.subtitle = 'Internal system error occurred. Our engineering team has been notified.',
  this.subtitleWidget,
  this.icon,
  this.iconColor,
  this.iconSize = 64.0,
  this.primaryAction,
  this.secondaryAction,
  this.extra,
  this.fullPage = false,
  this.padding = const EdgeInsets.all(32.0),
}) : status = TResultStatus.serverError;