NiceTimeoutFeedback constructor
const
NiceTimeoutFeedback({
- Key? key,
- required int timeoutSeconds,
- required String message,
- VoidCallback? onTimeout,
- VoidCallback? onAbort,
- void onExtend(
- int addedSeconds
- int extendSeconds = 30,
- int warningThresholdSeconds = 10,
- Color? backgroundColor,
- bool autoStart = true,
Implementation
const NiceTimeoutFeedback({
super.key,
required this.timeoutSeconds,
required this.message,
this.onTimeout,
this.onAbort,
this.onExtend,
this.extendSeconds = 30,
this.warningThresholdSeconds = 10,
this.backgroundColor,
this.autoStart = true,
});