EnvironmentWidget constructor Null safety

EnvironmentWidget(
  1. {Key? key}
)