PreferredSize constructor Null safety
Implementation
const factory PreferredSize(
{final Key? key,
required final Size preferredSize,
required final Widget child}) = _$PreferredSize;
const factory PreferredSize(
{final Key? key,
required final Size preferredSize,
required final Widget child}) = _$PreferredSize;