Skip to content

Commit 59f4145

Browse files
authored
[material_ui] [cupertino_ui] Add missing Widget of the Week videos to widget API docs (#12468)
Add missing Widget of the Week videos to widget API docs. <img width="1512" height="982" alt="Screenshot 2026-08-14 at 12 50 04 AM" src="https://github.com/user-attachments/assets/b3a2072e-4b4d-4ad7-baa7-50baf9aeed15" /> Audited all [181](https://www.youtube.com/playlist?list=PLjxrf2q8roU23XGwz3Km7sQZFTdB996iG) videos and added missing ones in the docs. Fixes github.com/flutter/flutter/issues/191031 Also check flutter/flutter#191070 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent e31dfab commit 59f4145

7 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎packages/cupertino_ui/lib/src/nav_bar.dart‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,8 @@ class _CupertinoNavigationBarState extends State<CupertinoNavigationBar> {
892892

893893
/// An iOS-styled navigation bar with iOS-11-style large titles using slivers.
894894
///
895+
/// Learn more about [CupertinoSliverNavigationBar] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=xiTuAwvKxBY).
896+
///
895897
/// The [CupertinoSliverNavigationBar] must be placed in a sliver group such
896898
/// as the [CustomScrollView].
897899
///
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
changelog: |
2+
- Add missing Widget of the Week videos to widget API docs.
3+
version: patch

‎packages/material_ui/lib/src/badge.dart‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import 'theme.dart';
1919

2020
/// A Material Design "badge".
2121
///
22+
/// Learn more about [Badge] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=_CIHLJHVoN8).
23+
///
2224
/// A badge's [label] conveys a small amount of information about its
2325
/// [child], like a count or status. If the label is null then this is
2426
/// a "small" badge that's displayed as a [smallSize] diameter filled

‎packages/material_ui/lib/src/carousel.dart‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import 'theme.dart';
2424

2525
/// A Material Design carousel widget.
2626
///
27+
/// Learn more about [CarouselView] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=GQ8ajYVF0bo).
28+
///
2729
/// The [CarouselView] presents a scrollable list of items, each of which can dynamically
2830
/// change size based on the chosen layout.
2931
///

‎packages/material_ui/lib/src/search_anchor.dart‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ typedef ViewBuilder = Widget Function(Iterable<Widget> suggestions);
7070
/// Manages a "search view" route that allows the user to select one of the
7171
/// suggested completions for a search query.
7272
///
73+
/// Learn more about [SearchAnchor] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=vM2dC8OCZoY).
74+
///
7375
/// The search view's route can either be shown by creating a [SearchController]
7476
/// and then calling [SearchController.openView] or by tapping on an anchor.
7577
/// When the anchor is tapped or [SearchController.openView] is called, the search view either
@@ -1412,6 +1414,8 @@ class SearchController extends TextEditingController {
14121414

14131415
/// A Material Design search bar.
14141416
///
1417+
/// Learn more about [SearchBar] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=vM2dC8OCZoY).
1418+
///
14151419
/// A [SearchBar] looks like a [TextField]. Tapping a SearchBar typically shows a
14161420
/// "search view" route: a route with the search bar at the top and a list of
14171421
/// suggested completions for the search bar's text below. [SearchBar]s are

‎packages/material_ui/lib/src/segmented_button.dart‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ class ButtonSegment<T> {
6666

6767
/// A Material button that allows the user to select from limited set of options.
6868
///
69+
/// Learn more about [SegmentedButton] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=Kj6jwKsVC3A).
70+
///
6971
/// Segmented buttons are used to help people select options, switch views, or
7072
/// sort elements. They are typically used in cases where there are only 2-5
7173
/// options.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
changelog: |
2+
- Add missing Widget of the Week videos to widget API docs.
3+
version: patch

0 commit comments

Comments
 (0)