NavigationIndicator constructor Null safety

const NavigationIndicator(
  1. {Key? key,
  2. required Animation<double> animation,
  3. Color? color,
  4. double width = 64,
  5. double height = 32,
  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 = 64,
  this.height = 32,
  this.borderRadius = const BorderRadius.all(Radius.circular(16)),
  this.shape,
});