Skip to content

Commit 1704d4f

Browse files
authored
Add new widget of the week videos (#107301)
1 parent 1d2fa28 commit 1704d4f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/flutter/lib/src/material/navigation_rail.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ import 'navigation_rail_theme.dart';
1515
import 'text_theme.dart';
1616
import 'theme.dart';
1717

18-
/// A material widget that is meant to be displayed at the left or right of an
18+
/// A Material Design widget that is meant to be displayed at the left or right of an
1919
/// app to navigate between a small number of views, typically between three and
2020
/// five.
2121
///
22+
/// {@youtube 560 315 https://www.youtube.com/watch?v=y9xchtVTtqQ}
23+
///
2224
/// The navigation rail is meant for layouts with wide viewports, such as a
2325
/// desktop web or tablet landscape layout. For smaller layouts, like mobile
2426
/// portrait, a [BottomNavigationBar] should be used instead.

packages/flutter/lib/src/widgets/actions.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,8 @@ class _ActionsMarker extends InheritedWidget {
10301030
/// and key bindings, and provides callbacks for handling focus and hover
10311031
/// highlights.
10321032
///
1033+
/// {@youtube 560 315 https://www.youtube.com/watch?v=R84AGg0lKs8}
1034+
///
10331035
/// This widget can be used to give a control the required detection modes for
10341036
/// focus and hover handling. It is most often used when authoring a new control
10351037
/// widget, and the new control should be enabled for keyboard traversal and

0 commit comments

Comments
 (0)