SnackbarDurationIndicator constructor
const
SnackbarDurationIndicator({
- Key? key,
- required Duration duration,
- double height = 3.0,
- Color? color,
- Color? backgroundColor,
- BorderRadius? borderRadius,
- DurationIndicatorDirection direction = DurationIndicatorDirection.leftToRight,
Implementation
const SnackbarDurationIndicator({
super.key,
required this.duration,
this.height = 3.0,
this.color,
this.backgroundColor,
this.borderRadius,
this.direction = DurationIndicatorDirection.leftToRight,
});