NavigationRailDestination constructor Null safety
- {required Widget icon,
- Widget? selectedIcon,
- Color? indicatorColor,
- ShapeBorder? indicatorShape,
- required Widget label,
- EdgeInsets? padding}
Implementation
const factory NavigationRailDestination({
required Widget icon,
Widget? selectedIcon,
Color? indicatorColor,
ShapeBorder? indicatorShape,
required Widget label,
EdgeInsets? padding,
}) = _NavigationRailDestination;