PreferredSizeWidget constructor Null safety

PreferredSizeWidget()