NavigationIndicator constructor

const NavigationIndicator({
  1. Key? key,
  2. required Animation<double> animation,
  3. Color? color,
  4. double width = _kIndicatorWidth,
  5. double height = _kIndicatorHeight,
  6. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)),
  7. ShapeBorder? shape,
})

Builds an indicator, usually used in a stack behind the icon of a navigation bar destination.

Implementation

const NavigationIndicator({
  super.key,
  required this.animation,
  this.color,
  this.width = _kIndicatorWidth,
  this.height = _kIndicatorHeight,
  this.borderRadius = const BorderRadius.all(Radius.circular(16)),
  this.shape,
});