Unverified Commit eabdee80 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Add widget of the week videos (#32982)

* AnimatedList
* Flexible
* Draggable
* ValueListenableBuilder
parent 40138f54
......@@ -44,6 +44,8 @@ class _ActiveItem implements Comparable<_ActiveItem> {
/// use the static [of] method from an item's input callback.
///
/// This widget is similar to one created by [ListView.builder].
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ZtfItHwFlZ8}
class AnimatedList extends StatefulWidget {
/// Creates a scrolling container that animates items when they are inserted or removed.
const AnimatedList({
......
......@@ -4253,6 +4253,8 @@ class Column extends Flex {
/// [Flex] must contain only [StatelessWidget]s or [StatefulWidget]s (not other
/// kinds of widgets, like [RenderObjectWidget]s).
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=CI7x0mAZiY0}
///
/// See also:
///
/// * [Expanded], which forces the child to expand to fill the available space.
......
......@@ -87,6 +87,8 @@ enum DragAnchor {
/// [childWhenDragging] when one or more drags are underway. Otherwise, this
/// widget always displays [child].
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=QzA4c4QHZCY}
///
/// See also:
///
/// * [DragTarget]
......
......@@ -25,6 +25,8 @@ typedef ValueWidgetBuilder<T> = Widget Function(BuildContext context, T value, W
/// listener of the [ValueListenable] and call the [builder] with updated values
/// when the value changes.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=s-ZG-jS5QHQ}
///
/// ## Performance optimizations
///
/// If your [builder] function contains a subtree that does not depend on the
......
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