You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CupertinoElevatedButtonData.color is useful to change the background of a PlatformElevatedButton on Cupertino when cupertino.originalStyle: false. However when trying to change the foreground, nothing can be done.
CupertinoElevatedButtonData should allow to set the primaryContrastingColor that would get passed in here:
We might just call it contrastingColor. The only way to bypass this issue right now is to either wrap PlatformElevatedButton into your own CupertinoTheme or modify the colors of the children directly.
The text was updated successfully, but these errors were encountered:
CupertinoElevatedButtonData.color
is useful to change the background of aPlatformElevatedButton
on Cupertino whencupertino.originalStyle: false
. However when trying to change the foreground, nothing can be done.CupertinoElevatedButtonData
should allow to set theprimaryContrastingColor
that would get passed in here:flutter_platform_widgets/lib/src/platform_elevated_button.dart
Line 194 in 216d5e2
We might just call it
contrastingColor
. The only way to bypass this issue right now is to either wrapPlatformElevatedButton
into your ownCupertinoTheme
or modify the colors of the children directly.The text was updated successfully, but these errors were encountered: