Target the specific design of Material for Android and Cupertino for iOS widgets through a common set of Platform aware widgets
1.59k
stars
173
forks
source link
`PlatformElevatedButton` not respecting `cupertino.color` when `originalStyle == false` #461
Open
martin-braun opened 5 months ago
Right here: https://github.com/stryder-dev/flutter_platform_widgets/blob/216d5e245854e9c852ca3416b36ca9de0d9e92b4/lib/src/platform_elevated_button.dart#L194
It passes
color
in. Instead, it should passdata?.color ?? color
in, such as in https://github.com/stryder-dev/flutter_platform_widgets/blob/216d5e245854e9c852ca3416b36ca9de0d9e92b4/lib/src/platform_elevated_button.dart#L174