Unverified Commit 3a472500 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Add widget of the week videos (#102862)

parent b0d5d8ab
...@@ -784,6 +784,8 @@ class DropdownButtonHideUnderline extends InheritedWidget { ...@@ -784,6 +784,8 @@ class DropdownButtonHideUnderline extends InheritedWidget {
/// shows the currently selected item as well as an arrow that opens a menu for /// shows the currently selected item as well as an arrow that opens a menu for
/// selecting another item. /// selecting another item.
/// ///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ZzQ_PWrFihg}
///
/// One ancestor must be a [Material] widget and typically this is /// One ancestor must be a [Material] widget and typically this is
/// provided by the app's [Scaffold]. /// provided by the app's [Scaffold].
/// ///
......
...@@ -7,6 +7,8 @@ import 'package:flutter/widgets.dart'; ...@@ -7,6 +7,8 @@ import 'package:flutter/widgets.dart';
/// The Flutter logo, in widget form. This widget respects the [IconTheme]. /// The Flutter logo, in widget form. This widget respects the [IconTheme].
/// For guidelines on using the Flutter logo, visit https://flutter.dev/brand. /// For guidelines on using the Flutter logo, visit https://flutter.dev/brand.
/// ///
/// {@youtube 560 315 https://www.youtube.com/watch?v=aAmP-WcI6dg}
///
/// See also: /// See also:
/// ///
/// * [IconTheme], which provides ambient configuration for icons. /// * [IconTheme], which provides ambient configuration for icons.
......
...@@ -62,6 +62,8 @@ enum _ScaffoldSlot { ...@@ -62,6 +62,8 @@ enum _ScaffoldSlot {
/// Manages [SnackBar]s and [MaterialBanner]s for descendant [Scaffold]s. /// Manages [SnackBar]s and [MaterialBanner]s for descendant [Scaffold]s.
/// ///
/// {@youtube 560 315 https://www.youtube.com/watch?v=lytQi-slT5Y}
///
/// This class provides APIs for showing snack bars and material banners at the /// This class provides APIs for showing snack bars and material banners at the
/// bottom and top of the screen, respectively. /// bottom and top of the screen, respectively.
/// ///
......
...@@ -5319,6 +5319,8 @@ class Wrap extends MultiChildRenderObjectWidget { ...@@ -5319,6 +5319,8 @@ class Wrap extends MultiChildRenderObjectWidget {
/// A widget that sizes and positions children efficiently, according to the /// A widget that sizes and positions children efficiently, according to the
/// logic in a [FlowDelegate]. /// logic in a [FlowDelegate].
/// ///
/// {@youtube 560 315 https://www.youtube.com/watch?v=NG6pvXpnIso}
///
/// Flow layouts are optimized for repositioning children using transformation /// Flow layouts are optimized for repositioning children using transformation
/// matrices. /// matrices.
/// ///
...@@ -6409,6 +6411,8 @@ class MouseRegion extends SingleChildRenderObjectWidget { ...@@ -6409,6 +6411,8 @@ class MouseRegion extends SingleChildRenderObjectWidget {
/// A widget that creates a separate display list for its child. /// A widget that creates a separate display list for its child.
/// ///
/// {@youtube 560 315 https://www.youtube.com/watch?v=cVAGLDuc2xE}
///
/// This widget creates a separate display list for its child, which /// This widget creates a separate display list for its child, which
/// can improve performance if the subtree repaints at different times than /// can improve performance if the subtree repaints at different times than
/// the surrounding parts of the tree. /// the surrounding parts of the tree.
...@@ -7408,6 +7412,8 @@ typedef StatefulWidgetBuilder = Widget Function(BuildContext context, StateSette ...@@ -7408,6 +7412,8 @@ typedef StatefulWidgetBuilder = Widget Function(BuildContext context, StateSette
/// A platonic widget that both has state and calls a closure to obtain its child widget. /// A platonic widget that both has state and calls a closure to obtain its child widget.
/// ///
/// {@youtube 560 315 https://www.youtube.com/watch?v=syvT63CosNE}
///
/// The [StateSetter] function passed to the [builder] is used to invoke a /// The [StateSetter] function passed to the [builder] is used to invoke a
/// rebuild instead of a typical [State]'s [State.setState]. /// rebuild instead of a typical [State]'s [State.setState].
/// ///
......
...@@ -997,6 +997,8 @@ class HeroController extends NavigatorObserver { ...@@ -997,6 +997,8 @@ class HeroController extends NavigatorObserver {
/// Enables or disables [Hero]es in the widget subtree. /// Enables or disables [Hero]es in the widget subtree.
/// ///
/// {@youtube 560 315 https://www.youtube.com/watch?v=AaIASk2u1C0}
///
/// When [enabled] is false, all [Hero] widgets in this subtree will not be /// When [enabled] is false, all [Hero] widgets in this subtree will not be
/// involved in hero animations. /// involved in hero animations.
/// ///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment