NativeBaseProvider constructor Null safety
- {Key? key,
- required NativeBaseTheme theme,
- required Widget child}
The NativeBaseProvider holds the theme data of the nativebase Nativebase Provider needs to provided on the root level of the tree of the flutter app in order to resolves the token of the nativebase
Implementation
const NativeBaseProvider({
Key? key,
required this.theme,
required this.child,
}) : super(key: key);