CupertinoThemeModifier constructor

const CupertinoThemeModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required CupertinoThemeData data,
})

Creates a CupertinoTheme to change descendant Cupertino widgets' styling.

The data and child parameters must not be null.

Implementation

const CupertinoThemeModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.data,
});