Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/cupertino_ui/lib/cupertino_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
/// example the [Material
/// Design](https://docs.flutter.dev/ui/widgets/material) set.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=3PdUaidHc-E}
/// Learn more about Cupertino widgets on the [Flutter YouTube channel](https://www.youtube.com/watch?v=3PdUaidHc-E).
///
/// See also:
///
/// * [flutter.dev/widgets/cupertino](https://docs.flutter.dev/ui/widgets/cupertino)
/// for a catalog of all Cupertino widgets.
/// * [flutter.dev/widgets](https://docs.flutter.dev/ui/widgets)
/// for a catalog of commonly-used Flutter widgets.
/// @docImport 'package:flutter_test/flutter_test.dart';
/// @docImport 'package:intl/intl.dart';
library cupertino_ui;

export 'package:flutter/widgets.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/cupertino_ui/lib/src/activity_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Color _kActiveTickColor = CupertinoDynamicColor.withBrightness(

/// An iOS-style activity indicator that spins clockwise.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=AENVH-ZqKDQ}
/// Learn more about [CupertinoActivityIndicator] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=AENVH-ZqKDQ).
///
/// <callout-box>
///
Expand Down
2 changes: 1 addition & 1 deletion packages/cupertino_ui/lib/src/checkbox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const List<double> _kDisabledDarkGradientOpacities = <double>[0.08, 0.14];

/// A macOS style checkbox.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ua54JU7k1Us}
/// Learn more about [CupertinoCheckbox] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=ua54JU7k1Us).
///
/// The checkbox itself does not maintain any state. Instead, when the state of
/// the checkbox changes, the widget calls the [onChanged] callback. Most
Expand Down
4 changes: 2 additions & 2 deletions packages/cupertino_ui/lib/src/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ bool _isInAccessibilityMode(BuildContext context) {

/// An iOS-style alert dialog.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=75CsnyRXf5I}
/// Learn more about [CupertinoAlertDialog] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=75CsnyRXf5I).
///
/// An alert dialog informs the user about situations that require
/// acknowledgment. An alert dialog has an optional title, optional content,
Expand Down Expand Up @@ -1052,7 +1052,7 @@ class _ActionSheetGestureDetector extends StatelessWidget {

/// An iOS-style action sheet.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=U-ao8p4A82k}
/// Learn more about [CupertinoActionSheet] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=U-ao8p4A82k).
///
/// An action sheet is a specific style of alert that presents the user
/// with a set of two or more choices related to the current context.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
// To regenerate the file, use:
// dart script/l10n/bin/gen_localizations.dart --overwrite

/// @docImport 'package:intl/intl.dart';
library;

import 'dart:collection';

import 'package:flutter/widgets.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/cupertino_ui/lib/src/radio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const List<double> _kDisabledDarkGradientOpacities = <double>[0.08, 0.14];

/// A widget that builds a [RawRadio] with a macOS-style UI.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=D0xwcz2IqAY}
/// Learn more about [CupertinoRadio] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=D0xwcz2IqAY).
///
/// Used to select between a number of mutually exclusive values. When one radio
/// button in a group is selected, the other radio buttons in the group are
Expand Down
2 changes: 1 addition & 1 deletion packages/cupertino_ui/lib/src/scrollbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const double _kScrollbarCrossAxisMargin = 3.0;
/// To add a scrollbar to a [ScrollView], wrap the scroll view widget in
/// a [CupertinoScrollbar] widget.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=DbkIQSvwnZc}
/// Learn more about [CupertinoScrollbar] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=DbkIQSvwnZc).
///
/// {@macro flutter.widgets.Scrollbar}
///
Expand Down
4 changes: 2 additions & 2 deletions packages/cupertino_ui/lib/src/sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ typedef _GetSheetDragged = bool Function();
/// Shows a Cupertino-style sheet widget that slides up from the bottom of the
/// screen and stacks the previous route behind the new sheet.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=5H-WvH5O29I}
/// Learn more about [CupertinoSheetRoute] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=5H-WvH5O29I).
///
/// This is a convenience method for displaying [CupertinoSheetRoute] for most
/// use cases. The Widget returned from `scrollableBuilder` will be used to display
Expand Down Expand Up @@ -591,7 +591,7 @@ class _StretchDragControllerProvider extends InheritedWidget {

/// Route for displaying an iOS sheet styled page.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=5H-WvH5O29I}
/// Learn more about [CupertinoSheetRoute] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=5H-WvH5O29I).
///
/// The `CupertinoSheetRoute` will slide up from the bottom of the screen and stop
/// below the top of the screen. If the previous route is a non-sheet route, then
Expand Down
2 changes: 1 addition & 1 deletion packages/cupertino_ui/lib/src/slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const double _kVelocityThreshold = 1.0;

/// An iOS-style slider.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ufb4gIPDmEs}
/// Learn more about [CupertinoSlider] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=ufb4gIPDmEs).
///
/// Used to select from a range of values.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class _SegmentSeparatorState extends State<_SegmentSeparator>

/// An iOS 13 style segmented control.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=esnBf6V4C34}
/// Learn more about [CupertinoSlidingSegmentedControl] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=esnBf6V4C34).
///
/// Displays the widgets provided in the [Map] of [children] in a horizontal list.
/// It allows the user to select between a number of mutually exclusive options,
Expand Down
2 changes: 1 addition & 1 deletion packages/cupertino_ui/lib/src/switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const CupertinoDynamicColor _kOffLabelColor = CupertinoDynamicColor.withBrightne
///
/// Used to toggle the on/off state of a single setting.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=24tg_N4sdMQ}
/// Learn more about [CupertinoSwitch] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=24tg_N4sdMQ).
///
/// The switch itself does not maintain its toggle state. Instead, when the
/// toggle state of the switch changes, the widget calls the [onChanged]
Expand Down
4 changes: 3 additions & 1 deletion packages/material_ui/lib/material_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
///
/// To use, import `package:material_ui/material_ui.dart`.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=DL0Ix1lnC4w}
/// Learn more about Material Design widgets on the [Flutter YouTube channel](https://www.youtube.com/watch?v=DL0Ix1lnC4w).
///
/// See also:
///
/// * [docs.flutter.dev/ui/widgets/material](https://docs.flutter.dev/ui/widgets/material)
/// for a catalog of commonly-used Material component widgets.
/// * [m3.material.io](https://m3.material.io/) for the Material 3 specification
/// * [m2.material.io](https://m2.material.io/) for the Material 2 specification
/// @docImport 'package:flutter_test/flutter_test.dart';
/// @docImport 'package:intl/intl.dart';
library material_ui;

export 'package:flutter/widgets.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const double _textVerticalSeparation = 18.0;
///
/// To show an [AboutDialog], use [showAboutDialog].
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=YFCSODyFxbE}
/// Learn more about [AboutDialog] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=YFCSODyFxbE).
///
/// If the application has a [Drawer], the [AboutListTile] widget can make the
/// process of showing an about dialog simpler.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ part of material_animated_icons; // ignore: use_string_in_part_of_directives
///
/// The available icons are specified in [AnimatedIcons].
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=pJcbh8pbvJs}
/// Learn more about [AnimatedIcon] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=pJcbh8pbvJs).
///
/// <callout-box>
///
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ class _SliverAppBarDelegate extends SliverPersistentHeaderDelegate {
/// common actions with [IconButton]s which are optionally followed by a
/// [PopupMenuButton] for less common operations.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=R9C5KMJKluE}
/// Learn more about [SliverAppBar] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=R9C5KMJKluE).
///
/// Sliver app bars are typically used as the first child of a
/// [CustomScrollView], which lets the app bar integrate with the scroll view so
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/autocomplete.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'theme.dart';

/// {@macro flutter.widgets.RawAutocomplete.RawAutocomplete}
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=-Nny8kzW380}
/// Learn more about [Autocomplete] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=-Nny8kzW380).
///
/// <callout-box>
///
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/checkbox_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ enum _CheckboxType { material, adaptive }
/// The entire list tile is interactive: tapping anywhere in the tile toggles
/// the checkbox.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=RkSqPAn9szs}
/// Learn more about [CheckboxListTile] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=RkSqPAn9szs).
///
/// The [value], [onChanged], [activeColor] and [checkColor] properties of this widget are
/// identical to the similarly-named properties on the [Checkbox] widget.
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/data_table.dart
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class DataCell {
/// [Material 2](https://material.io/go/design-data-tables)
/// design specification.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ktTajqbhIcY}
/// Learn more about [DataTable] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=ktTajqbhIcY).
///
/// ## Performance considerations
///
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class Dialog extends StatelessWidget {
/// title and an optional list of actions. The title is displayed above the
/// content and the actions are displayed below the content.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=75CsnyRXf5I}
/// Learn more about [AlertDialog] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=75CsnyRXf5I).
///
/// For dialogs that offer the user a choice between several options, consider
/// using a [SimpleDialog].
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/divider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import 'theme.dart';
/// To create a divider between [ListTile] items, consider using
/// [ListTile.divideTiles], which is optimized for this case.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=_liUC641Nmk}
/// Learn more about [Divider] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=_liUC641Nmk).
///
/// The box's total height is controlled by [height]. The appropriate
/// padding is automatically computed from the height.
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Duration _kBaseSettleDuration = Duration(milliseconds: 246);
/// that's preferred for applications that are configured for Material 3
/// (see [ThemeData.useMaterial3]).
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=WRj86iHihgY}
/// Learn more about [Drawer] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=WRj86iHihgY).
///
/// Drawers are typically used with the [Scaffold.drawer] property. The child of
/// the drawer is usually a [ListView] whose first child is a [DrawerHeader]
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/dropdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ class DropdownButtonHideUnderline extends InheritedWidget {
/// from [DropdownButton] to [DropdownMenu].
///
/// ## Using [DropdownButton]
/// {@youtube 560 315 https://www.youtube.com/watch?v=ZzQ_PWrFihg}
/// Learn more about [DropdownButton] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=ZzQ_PWrFihg).
///
/// One ancestor must be a [Material] widget and typically this is
/// provided by the app's [Scaffold].
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/dropdown_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ enum DropdownMenuCloseBehavior {
/// A dropdown menu that can be opened from a [TextField]. The selected
/// menu item is displayed in that field.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=giV9AbM2gd8}
/// Learn more about [DropdownMenu] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=giV9AbM2gd8).
///
/// This widget is used to help people make a choice from a menu and put the
/// selected item into the text input field. People can also filter the list based
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/expansion_panel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ typedef ExpansionPanelHeaderBuilder = Widget Function(BuildContext context, bool
/// expanded or collapsed. The body of the panel is only visible when it is
/// expanded.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=2aJZzRMziJc}
/// Learn more about [ExpansionPanel] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=2aJZzRMziJc).
///
/// Expansion panels are only intended to be used as children for
/// [ExpansionPanelList].
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/flexible_space_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ enum StretchMode {
/// The part of a Material Design [AppBar] that expands, collapses, and
/// stretches.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=mSc7qFzxHDw}
/// Learn more about [FlexibleSpaceBar] on the [Flutter YouTube channel](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]
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/floating_action_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ enum _FloatingActionButtonType { regular, small, large, extended }
/// to promote a primary action in the application. Floating action buttons are
/// most commonly used in the [Scaffold.floatingActionButton] field.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=2uaoEDOgk_I}
/// Learn more about [FloatingActionButton] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=2uaoEDOgk_I).
///
/// Use at most a single floating action button per screen. Floating action
/// buttons should be used for positive actions such as "create", "share", or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
// To regenerate the file, use:
// dart script/l10n/bin/gen_localizations.dart --overwrite

/// @docImport 'package:intl/intl.dart';
library;

import 'dart:collection';

import 'package:flutter/widgets.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ enum ListTileTitleAlignment {
/// A single fixed-height row that typically contains some text as well as
/// a leading or trailing icon.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=l8dj0yPBvgQ}
/// Learn more about [ListTile] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=l8dj0yPBvgQ).
///
/// A list tile contains one to three lines of text optionally flanked by icons or
/// other widgets, such as check boxes. The icons (or other widgets) for the
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/material_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ class _WidgetInputBorderMapper extends WidgetStateMapper<InputBorder>
/// on a widget's interactive "state", which is defined as a set
/// of [MaterialState]s.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=CylXr3AF3uU}
/// Learn more about [WidgetStateProperty] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=CylXr3AF3uU).
///
/// Material state properties represent values that depend on a widget's material
/// "state". The state is encoded as a set of [MaterialState] values, like
Expand Down
4 changes: 2 additions & 2 deletions packages/material_ui/lib/src/navigation_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const double _kMaxLabelTextScaleFactor = 1.3;

/// Material 3 Navigation Bar component.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=DVGYddFaLv0}
/// Learn more about [NavigationBar] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=DVGYddFaLv0).
///
/// Navigation bars offer a persistent and convenient way to switch between
/// primary destinations in an app.
Expand Down Expand Up @@ -250,7 +250,7 @@ class NavigationBar extends StatelessWidget {
/// the [NavigationDestination] is focused, hovered, or pressed.
final WidgetStateProperty<Color?>? overlayColor;

//// The text style of the label.
/// The text style of the label.
///
/// If null, [NavigationBarThemeData.labelTextStyle] is used. If that
/// is also null, the default text style is [TextTheme.labelMedium] with
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/navigation_rail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const double _kIndicatorHeight = 32;
/// app to navigate between a small number of views, typically between three and
/// five.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=y9xchtVTtqQ}
/// Learn more about [NavigationRail] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=y9xchtVTtqQ).
///
/// The navigation rail is meant for layouts with wide viewports, such as a
/// desktop web or tablet landscape layout. For smaller layouts, like mobile
Expand Down
4 changes: 2 additions & 2 deletions packages/material_ui/lib/src/progress_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ class _LinearProgressIndicatorPainter extends CustomPainter {

/// A Material Design linear progress indicator, also known as a progress bar.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=O-rhXZLtpv0}
/// Learn more about [LinearProgressIndicator] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=O-rhXZLtpv0).
///
/// A widget that shows progress along a line. There are two kinds of linear
/// progress indicators:
Expand Down Expand Up @@ -798,7 +798,7 @@ class _CircularProgressIndicatorPainter extends CustomPainter {
/// A Material Design circular progress indicator, which spins to indicate that
/// the application is busy.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=O-rhXZLtpv0}
/// Learn more about [CircularProgressIndicator] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=O-rhXZLtpv0).
///
/// A widget that shows progress along a circle. There are two kinds of circular
/// progress indicators:
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/range_slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ typedef PaintRangeValueIndicator = void Function(PaintingContext context, Offset
///
/// Used to select a range from a range of values.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ufb4gIPDmEs}
/// Learn more about [RangeSlider] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=ufb4gIPDmEs).
///
/// <callout-box>
///
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/refresh_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ enum _IndicatorType { material, adaptive, noSpinner }

/// A widget that supports the Material "swipe to refresh" idiom.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ORApMlzwMdM}
/// Learn more about [RefreshIndicator] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=ORApMlzwMdM).
///
/// When the child's [Scrollable] descendant overscrolls, an animated circular
/// progress indicator is faded into view. When the scroll ends, if the
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/reorderable_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import 'theme.dart';

/// A list whose items the user can interactively reorder by dragging.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=3fB1mxOsqJE}
/// Learn more about [ReorderableListView] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=3fB1mxOsqJE).
///
/// This sample shows by dragging the user can reorder the items of the list.
/// The [onReorderItem] parameter will be called when a child
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ enum _ScaffoldSlot {

/// Manages [SnackBar]s and [MaterialBanner]s for descendant [Scaffold]s.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=lytQi-slT5Y}
/// Learn more about [ScaffoldMessenger] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=lytQi-slT5Y).
///
/// This class provides APIs for showing snack bars and material banners at the
/// bottom and top of the screen, respectively.
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/scrollbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Duration _kScrollbarTimeToFade = Duration(milliseconds: 600);
/// To add a scrollbar to a [ScrollView], wrap the scroll view
/// widget in a [Scrollbar] widget.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=DbkIQSvwnZc}
/// Learn more about [Scrollbar] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=DbkIQSvwnZc).
///
/// {@macro flutter.widgets.Scrollbar}
///
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/lib/src/selectable_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class _SelectableTextSelectionGestureDetectorBuilder extends TextSelectionGestur
/// The string might break across multiple lines or might all be displayed on
/// the same line depending on the layout constraints.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ZSU3ZXOs6hc}
/// Learn more about [SelectableText] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=ZSU3ZXOs6hc).
///
/// The [style] argument is optional. When omitted, the text will use the style
/// from the closest enclosing [DefaultTextStyle]. If the given style's
Expand Down
Loading
Loading