WindowBase constructor Null safety

WindowBase()