Closed kostyanchikoff closed 4 years ago
Hello!
Currently this feature is not implemented. If anyone is willing to implement it, I am always happy to review it and include it in the library.
This is now implemented in master branch.
You can enable night mode the following way
YandexMap(
onMapCreated: (YandexMapController yandexMapController) async {
await yandexMapController.toggleNightMode(enabled: true);
}
)
@DCrow Hello! Sorry, I cannot access the toggleNightMode method. Has it been removed?
@rexolion In newer versions it's available like so
YandexMap(
nightModeEnabled: true
)
@DCrow Thank you for the quick answer!
Android yandex map kit has isNigthMode function which activates dark theme, what is the alternative here? Thank you in advance!