NativeBaseProvider constructor Null safety

const NativeBaseProvider(
  1. {Key? key,
  2. required NativeBaseTheme theme,
  3. 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);