Skip to content

Commit

Permalink
Add widget of the week videos (flutter#72945)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvolkert authored Dec 26, 2020
1 parent 936297c commit 5f46931
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/flutter/lib/src/material/switch_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions packages/flutter/lib/src/widgets/interactive_viewer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions packages/flutter/lib/src/widgets/scroll_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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]).
///
Expand Down

0 comments on commit 5f46931

Please sign in to comment.