NavigationIndicator constructor Null safety
- {Key? key,
- required Animation<
double> animation, - Color? color,
- double width = 64,
- double height = 32,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)),
- 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,
});