Widget.theme constructor Null safety
Implementation
const factory Widget.theme({
Key? key,
required ThemeData data,
required Widget child,
}) = Theme;
const factory Widget.theme({
Key? key,
required ThemeData data,
required Widget child,
}) = Theme;