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