TResult.notFound constructor
const
TResult.notFound({
- Key? key,
- String? title = '404 Not Found',
- Widget? titleWidget,
- String? subtitle = 'Sorry, the requested page or data record does not exist.',
- Widget? subtitleWidget,
- dynamic icon,
- Color? iconColor,
- double iconSize = 64.0,
- Widget? primaryAction,
- Widget? secondaryAction,
- Widget? extra,
- bool fullPage = false,
- EdgeInsetsGeometry padding = const EdgeInsets.all(32.0),
404 Not Found preset (missing route/entity search).
Implementation
const TResult.notFound({
super.key,
this.title = '404 Not Found',
this.titleWidget,
this.subtitle = 'Sorry, the requested page or data record does not exist.',
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.notFound;