StreamDurationConfig constructor
const
StreamDurationConfig({
- bool autoPlay = true,
- bool isCountUp = false,
- Duration periodic = const Duration(seconds: 1),
- CountDownConfig? countDownConfig,
- CountUpConfig? countUpConfig,
- Function? onDone,
StreamDurationConfig class contains configuration options for StreamDuration, which is a class that emits a stream of Duration values.
Implementation
const StreamDurationConfig({
this.autoPlay = true,
this.isCountUp = false,
this.periodic = const Duration(seconds: 1),
this.countDownConfig,
this.countUpConfig,
this.onDone,
});