From 7233d9639c011f73a0cf0b0f05e87744d8d6de9a Mon Sep 17 00:00:00 2001 From: Fitz Date: Thu, 18 Feb 2021 11:26:04 -0800 Subject: [PATCH] Add missing widget of the week video links to API docs (#76251) --- packages/flutter/lib/src/material/flexible_space_bar.dart | 2 ++ packages/flutter/lib/src/widgets/basic.dart | 2 ++ packages/flutter/lib/src/widgets/image_filter.dart | 2 ++ 3 files changed, 6 insertions(+) diff --git a/packages/flutter/lib/src/material/flexible_space_bar.dart b/packages/flutter/lib/src/material/flexible_space_bar.dart index de139ee030..717123133e 100644 --- a/packages/flutter/lib/src/material/flexible_space_bar.dart +++ b/packages/flutter/lib/src/material/flexible_space_bar.dart @@ -38,6 +38,8 @@ enum StretchMode { /// The part of a material design [AppBar] that expands, collapses, and /// stretches. /// +/// {@youtube 560 315 https://www.youtube.com/watch?v=mSc7qFzxHDw} +/// /// Most commonly used in the [SliverAppBar.flexibleSpace] field, a flexible /// space bar expands and contracts as the app scrolls so that the [AppBar] /// reaches from the top of the app to the top of the scrolling contents of the diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 92d0da0f2a..e767589e3b 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -908,6 +908,8 @@ class ClipPath extends SingleChildRenderObjectWidget { /// A widget representing a physical layer that clips its children to a shape. /// +/// {@youtube 560 315 https://www.youtube.com/watch?v=XgUOSS30OQk} +/// /// Physical layers cast shadows based on an [elevation] which is nominally in /// logical pixels, coming vertically out of the rendering surface. /// diff --git a/packages/flutter/lib/src/widgets/image_filter.dart b/packages/flutter/lib/src/widgets/image_filter.dart index be79176687..62067f5311 100644 --- a/packages/flutter/lib/src/widgets/image_filter.dart +++ b/packages/flutter/lib/src/widgets/image_filter.dart @@ -11,6 +11,8 @@ import 'framework.dart'; /// Applies an [ImageFilter] to its child. /// +/// {@youtube 560 315 https://www.youtube.com/watch?v=7Lftorq4i2o} +/// /// See also: /// /// * [BackdropFilter], which applies an [ImageFilter] to everything