Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add option to manually set light/dark appearance (overrideUserInterfaceStyle)

オープン
#77 コメント 2 件 リアクション 1 件 担当者 1 名 GitHub で見る

@LuisThein がすでに取り組んでいます。

2025年6月8日 から。

  • #1 @timbrueckner による — オープン

評価

この issue はまだ評価されていません。

説明

enhancement
Is your feature request related to a problem? Please describe.

I'm building a themable Flutter app where users can manually choose between light or dark mode, regardless of the system theme. Currently, the apple_maps_flutter plugin only follows the iOS system appearance, and there’s no way to manually set the map style to light or dark programmatically. This results in inconsistent theming when the app is in dark mode but the system is in light mode (or vice versa).

Describe the solution you'd like

I’d like the plugin to expose an option in the AppleMap widget that allows developers to explicitly set the map appearance mode.

Example:

AppleMap(
  appearance: MapAppearance.dark, // .light, .dark, .system (default)
)

Which would internally map to:

if #available(iOS 13.0, *) {
    map.overrideUserInterfaceStyle = .dark // or .light / .unspecified
}
Describe alternatives you've considered
  • Forking the plugin and modifying the native iOS code to expose a custom method channel for overrideUserInterfaceStyle, but this increases maintenance burden.
  • Forcing the entire app to change the system interface style via Info.plist or theming wrappers, which affects the whole app and doesn't allow per-widget control.
Additional context

This would bring more flexibility for apps that support manual theme switching and improve visual consistency in user interfaces that integrate Apple Maps.

Thank you for the great work on this plugin!

主要言語
Dart
スター
84
フォーク
120
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluttercommunity/apple_maps_flutter のほかの issue

fluttercommunity/apple_maps_flutter の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。