Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting appBarColor does not work in some pages #5

Closed
crablet opened this issue Mar 9, 2022 · 1 comment
Closed

Setting appBarColor does not work in some pages #5

crablet opened this issue Mar 9, 2022 · 1 comment

Comments

@crablet
Copy link

crablet commented Mar 9, 2022

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
Copy link
Owner

Updated the library to use ThemeData

Use

ImageEditor.theme = ThemeData(
...
);

To customize UI accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants