Theme constructor Null safety

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

Implementation

const factory Theme(
    {final Key? key,
    required final ThemeData data,
    required final Widget child}) = _$Theme;