Add widget of the week videos (#72945)

This commit is contained in:
Todd Volkert
2020-12-25 17:29:02 -08:00
committed by GitHub
parent 936297cf9f
commit 5f46931a8f
3 changed files with 6 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ enum _SwitchListTileType { material, adaptive }
/// A [ListTile] with a [Switch]. In other words, a switch with a label.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=0igIjvtEWNU}
///
/// The entire list tile is interactive: tapping anywhere in the tile toggles
/// the switch. Tapping and dragging the [Switch] also triggers the [onChanged]
/// callback.

View File

@@ -15,6 +15,8 @@ import 'ticker_provider.dart';
/// A widget that enables pan and zoom interactions with its child.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=zrn7V3bMJvg}
///
/// The user can transform the child by dragging to pan or pinching to zoom.
///
/// By default, InteractiveViewer may draw outside of its original area of the

View File

@@ -1457,6 +1457,8 @@ class ListView extends BoxScrollView {
/// A scrollable, 2D array of widgets.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=bLOtZDTm4H8}
///
/// The main axis direction of a grid is the direction in which it scrolls (the
/// [scrollDirection]).
///