flutter ColorScheme problem with some deprecated warnings
I had some deprecated warnings in Theme . the code before : class myTheme { static getTheme() => ThemeData( primaryColor: Colors.grey, primarySwatch: Colors.grey, backgroundColor: Colors.white, buttonColor:Colors.blueAccent, accentColor: Colors.blueGrey, ); } accentColor and buttonColor were deprecated so I changed it to…