The current breaking changes page for release, recommends a styling strategy for buttons that includes the "primary" colour, which is deprecated in the current stable channel release (3.3.10).
For example:
This example creates a button that overrides its foreground color, as well as its overlay color, using the specified primary color and the opacities from the Material Design spec.
Page URL
https://docs.flutter.dev/release/breaking-changes/buttons#the-stylefrom-buttonstyle-utility-methods
Page source
No response
Describe the problem
The current breaking changes page for release, recommends a styling strategy for buttons that includes the "primary" colour, which is deprecated in the current stable channel release (3.3.10).
For example:
Expected fix
Change recommendation to use
foregroundColor
for instance.Additional context