gebes / native_ios_dialog

A Flutter plugin which makes it straightforward to show the native equivalent of a CupertinoAlertDialog or CupertinoActionSheet dialog.
MIT License
12 stars 3 forks source link

Set dark or light mode #2

Open sergiyvergun opened 1 year ago

sergiyvergun commented 1 year ago

How to set the dark or light mode to the dialog or action sheet? Now the theme sets automatically due to the device theme.

gebes commented 1 year ago

There seems to be a way, that you can override the light or dark theme for each dialog individually. We could add that in the future.

However, I assume that you want to have one color (assumably light) for every dialog. You can change the entire App theme here.

sergiyvergun commented 1 year ago

No, the theme has to be changed dynamically.