I have a .netMaui app with a flyoutmenu. The flyouticon or the hamburgericon has a white color. Now I want to change the color when the application is in whitemode. The problem: it doesn't change. I used the Shell.FlyoutIcon property.
First I tried AppThemeBinding but it didn't work. Then I used a diffrent icon with a black color to see if it changes. The icon changed and I had another shape but the color automaticly changed to white.
So what am I supposed to do to get a diffrent color?
Thanks for your help.
CodePudding user response:
Credits: ewerspej
You have to change the Shell.ForegroundColor and can make a AppThemeBinding.
Ref: How to get the default shell flyout icon to react when android dark theme is switched on/off