menu_button icon indicating copy to clipboard operation
menu_button copied to clipboard

The getter 'backgroundColor' isn't defined for the type 'ThemeData'.

Open lucas-sesti opened this issue 9 months ago • 2 comments

Describe the bug I'm trying to build the app with the latest flutter stable version and im getting the error.

To Reproduce Steps to reproduce the behavior:

  1. Update the flutter to the latest version
  2. Run flutter buld appbundle (or ios)
  3. See error

Expected behavior Build normally

Error The getter 'backgroundColor' isn't defined for the type 'ThemeData'.

lucas-sesti avatar May 16 '24 19:05 lucas-sesti

Any workarounds for this in the mean time?

muhammad67uzair avatar Jun 03 '24 04:06 muhammad67uzair

I'll make a pull request, but I don't know if he is using this repository to accept... but the workaround is copy the full library (it's small code, one file only), and remove this piece of code that uses background color... and when he fix, I'll use again the library instead the copy

lucas-sesti avatar Jun 03 '24 12:06 lucas-sesti