NavigationRailTheme constructor Null safety
- {Key? key,
- required NavigationRailThemeData data,
- required Widget child}
Creates a navigation rail theme that controls the NavigationRailThemeData properties for a NavigationRail.
The data argument must not be null.
Implementation
const NavigationRailTheme({
super.key,
required this.data,
required super.child,
}) : assert(data != null);