);

var

color

myTheme

colorScheme

secondary

References

In-depth migration guide

Accent color migration guide

API documentation:

ThemeData

ColorScheme

Relevant issues:

#56639

#84748

#56918

#91772

Relevant PRs:

Deprecated in:

#92822

#81336

#85144

Removed in:

#118658

#119360

#120577

#120932