SnackbarDurationIndicator constructor

const SnackbarDurationIndicator({
  1. Key? key,
  2. required Duration duration,
  3. double height = 3.0,
  4. Color? color,
  5. Color? backgroundColor,
  6. BorderRadius? borderRadius,
  7. 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,
});