flutter_platform_widgets icon indicating copy to clipboard operation
flutter_platform_widgets copied to clipboard

`PlatformElevatedButton` not respecting `cupertino.color` when `originalStyle == false`

Open martin-braun opened this issue 1 month ago • 0 comments

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 pass data?.color ?? color in, such as in https://github.com/stryder-dev/flutter_platform_widgets/blob/216d5e245854e9c852ca3416b36ca9de0d9e92b4/lib/src/platform_elevated_button.dart#L174

martin-braun avatar Jun 03 '24 03:06 martin-braun