CupertinoTheme constructor Null safety
- {Key? key,
- required CupertinoThemeData data,
- required Widget child}
Creates a CupertinoTheme to change descendant Cupertino widgets' styling.
Implementation
const CupertinoTheme({
super.key,
required this.data,
required this.child,
}) : assert(child != null),
assert(data != null);