Improve the "Create a SceneDelegate" by indicating you must call super at the end of overriden methods
メンテナーはふだん 1 日以内に返信
@NS180 がすでに取り組んでいます。
2026年11月12日 から。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 85/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
ページのソースとしてリンクされている sites/docs/src/content/release/breaking-changes/uiscenedelegate.md から始めます。Issue に示されているように、最後に super を呼び出すオーバーライドメソッドを含めるよう SceneDelegate の例を更新します。ドキュメントにこの注意点が記載されたら完了です。
索引モデルが issue の本文から書いたものです。
説明
Page URL
https://docs.flutter.dev/release/breaking-changes/uiscenedelegate
Page source
Describe the problem
The section shows an empty class as example of SceneDelegate, but it would be useful to add an overriden method as an example to remind that super must be called. It may be obvious but it is easy to forget when you are not familiar with iOS development and just copy/paste instructions from packages.
I was bitten by this when overriding sceneDidBecomeActive, which made quick_actions fail to activate shortcuts.
Expected fix
Add an example implementation, e.g.:
import Flutter
import UIKit
class SceneDelegate: FlutterSceneDelegate {
override func sceneDidBecomeActive(_ scene: UIScene) {
// your code
super.sceneDidBecomeActive(scene)
}
}
Additional context
No response
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.
- 主要言語
- Dart
- スター
- 3.1k
- フォーク
- 3.5k
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 54
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flutter/website のほかの issue
-
from.page-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
a.fwe a.tut.tutorial fix.bug fix.diagram from.page-issue p2-medium
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
Document the `use-explicit-plural-values` gen-l10n option再び着手できるかも @busradansmn が 11 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンact.await-dev-pr d.enhancement e0-minutes p2-medium t.cli-tools t.i18n t.l10n
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
flutter/website#13993 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
a.tut.codelab-google fix.code-sample fix.link fix.typo from.flutter-sdk p2-medium
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
flutter/website#13967 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
At step 5th in `Get to know Firebase for Flutter` codelabs, the screenshot is not synced with codeオープンa.tut.codelab-google p2-medium
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
flutter/website#13816 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
flutter/website の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
from.page-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
linagora/tmail-flutter#5159 ·
メンテナーはふだん 1 日以内に返信
-
needs::triage severity::minor
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
linagora/twake-on-matrix#3669 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
libnativeapi/nativeapi#37 ·