Widget constructor Null safety

Widget()