hsbijarniya / image_editor_plus

Flutter Image Editor Plugin with simple, easy support for image editing using Paints, Text, Filters, Emoji and Sticker like stories.
MIT License
104 stars 103 forks source link

Setting appBarColor does not work in some pages #5

Closed crablet closed 2 years ago

crablet commented 2 years ago

When I set the appBarColor to 'const Color(0xffffecb3)' and this is what I expect(pic0). pic0: https://ibb.co/qrjbMdW (BTW: There is an overflow occurs on the check button.)

But in some pages, the colour of the top bar still remains black while some buttons are black too(pic1, pic2, pic3), so I can't figure out buttons from it. pic1: https://ibb.co/NZb2wBx pic2: https://ibb.co/FBFGTQZ pic3: https://ibb.co/6XgVvQw

My code: ImageEditor(appBarColor: const Color(0xffffecb3), image: mergedImage)

Thanks for your excellent work of this useful library. It really helps me a lot!

hsbijarniya commented 2 years ago

Updated the library to use ThemeData

Use

ImageEditor.theme = ThemeData( ... );

To customize UI accordingly.