TimePickerTheme constructor Null safety

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

Creates a time picker theme that controls the configurations for time pickers displayed in its widget subtree.

Implementation

const TimePickerTheme({
  super.key,
  required this.data,
  required super.child,
}) : assert(data != null);