Flutter – The named parameter 'backgroundColor' isn't defined
After upgrading Flutter version I am getting this error in background color ThemeData( ... ... ... backgroundColor: Colors.white, ... ... ...); FOR THE REMAINING PARTS I was using backgroundColor: Theme.of(context).backgroundColor, --> I converted to backgroundColor: Theme.of(context).colorScheme.secondary, (Because I saw a…