BankAppGateScreen.offline constructor
const
BankAppGateScreen.offline({
- Key? key,
- VoidCallback? onRetry,
- String? title,
- String? body,
- IconData? icon,
- Widget? illustration,
- String? primaryActionLabel = 'Try again',
- String? secondaryActionLabel,
- VoidCallback? onSecondaryAction,
- List<
String> ? steps, - List<
String> ? stillWorking, - String stillWorkingTitle = _kStillWorkingTitle,
- String? moneySafetyLine,
- String? referenceCode,
- String referenceCodeHint = _kReferenceCodeHint,
- String copiedLabel = _kCopiedLabel,
- Widget? supportContact,
- String? supportPhoneLabel,
- VoidCallback? onContactSupport,
- IconData? supportIcon,
- String? appVersion,
- String versionPrefix = _kVersionPrefix,
- DateTime? lastUpdatedAt,
- String lastUpdatedPrefix = _kLastUpdatedPrefix,
- DateTime? resumesAt,
- String backByLabel = _kBackByLabel,
- String overrunLabel = _kOverrunLabel,
- DateTime clock()?,
- int? queuePosition,
- int? queueInitialPosition,
- Duration? estimatedWait,
- String queueKeepPlaceLine = _kQueueKeepPlaceLine,
- String queuePositionLine()?,
- EdgeInsetsGeometry? padding,
- Color? backgroundColor,
- Color? accentColor,
- TextStyle? titleStyle,
- TextStyle? bodyStyle,
- Duration? animationDuration,
- Curve? animationCurve,
- String? semanticLabel,
Offline gate: explains the connection is the cause and wires a
'Try again' primary action to onRetry.
Implementation
const BankAppGateScreen.offline({
super.key,
VoidCallback? onRetry,
this.title,
this.body,
this.icon,
this.illustration,
this.primaryActionLabel = 'Try again',
this.secondaryActionLabel,
this.onSecondaryAction,
this.steps,
this.stillWorking,
this.stillWorkingTitle = _kStillWorkingTitle,
this.moneySafetyLine,
this.referenceCode,
this.referenceCodeHint = _kReferenceCodeHint,
this.copiedLabel = _kCopiedLabel,
this.supportContact,
this.supportPhoneLabel,
this.onContactSupport,
this.supportIcon,
this.appVersion,
this.versionPrefix = _kVersionPrefix,
this.lastUpdatedAt,
this.lastUpdatedPrefix = _kLastUpdatedPrefix,
this.resumesAt,
this.backByLabel = _kBackByLabel,
this.overrunLabel = _kOverrunLabel,
this.clock,
this.queuePosition,
this.queueInitialPosition,
this.estimatedWait,
this.queueKeepPlaceLine = _kQueueKeepPlaceLine,
this.queuePositionLine,
this.padding,
this.backgroundColor,
this.accentColor,
this.titleStyle,
this.bodyStyle,
this.animationDuration,
this.animationCurve,
this.semanticLabel,
}) : reason = BankAppGateReason.offline,
onPrimaryAction = onRetry;