CupertinoUserInterfaceLevel constructor Null safety

const CupertinoUserInterfaceLevel(
  1. {Key? key,
  2. required CupertinoUserInterfaceLevelData data,
  3. required Widget child}
)

Creates a CupertinoUserInterfaceLevel to change descendant Cupertino widget's visual level.

Implementation

const CupertinoUserInterfaceLevel({
  super.key,
  required CupertinoUserInterfaceLevelData data,
  required super.child,
}) : assert(data != null),
    _data = data;