From cc11c39b593aeebd8147d5cd74b0cad32582b328 Mon Sep 17 00:00:00 2001 From: Wyatt Arent Date: Sat, 22 Oct 2016 21:51:53 -0700 Subject: [PATCH] #6344 update google.com/material links to material.google.com (#6484) --- examples/README.md | 2 +- .../flutter_gallery/lib/demo/full_screen_dialog_demo.dart | 2 +- packages/flutter/lib/material.dart | 2 +- packages/flutter/lib/src/material/app.dart | 2 +- packages/flutter/lib/src/material/app_bar.dart | 4 ++-- packages/flutter/lib/src/material/bottom_sheet.dart | 4 ++-- packages/flutter/lib/src/material/card.dart | 2 +- packages/flutter/lib/src/material/checkbox.dart | 4 ++-- packages/flutter/lib/src/material/chip.dart | 2 +- packages/flutter/lib/src/material/circle_avatar.dart | 2 +- packages/flutter/lib/src/material/colors.dart | 2 +- packages/flutter/lib/src/material/data_table.dart | 2 +- packages/flutter/lib/src/material/date_picker.dart | 8 ++++---- packages/flutter/lib/src/material/dialog.dart | 4 ++-- packages/flutter/lib/src/material/divider.dart | 2 +- packages/flutter/lib/src/material/drawer.dart | 4 ++-- packages/flutter/lib/src/material/drawer_header.dart | 2 +- packages/flutter/lib/src/material/drawer_item.dart | 2 +- packages/flutter/lib/src/material/drop_down.dart | 4 ++-- packages/flutter/lib/src/material/flat_button.dart | 2 +- packages/flutter/lib/src/material/flexible_space_bar.dart | 2 +- .../flutter/lib/src/material/floating_action_button.dart | 4 ++-- packages/flutter/lib/src/material/grid_tile.dart | 2 +- packages/flutter/lib/src/material/grid_tile_bar.dart | 2 +- packages/flutter/lib/src/material/input.dart | 2 +- packages/flutter/lib/src/material/list.dart | 6 +++--- packages/flutter/lib/src/material/list_item.dart | 2 +- packages/flutter/lib/src/material/material.dart | 2 +- .../flutter/lib/src/material/paginated_data_table.dart | 2 +- packages/flutter/lib/src/material/progress_indicator.dart | 6 +++--- packages/flutter/lib/src/material/radio.dart | 2 +- packages/flutter/lib/src/material/raised_button.dart | 2 +- packages/flutter/lib/src/material/refresh_indicator.dart | 2 +- packages/flutter/lib/src/material/scaffold.dart | 4 ++-- packages/flutter/lib/src/material/shadows.dart | 4 ++-- packages/flutter/lib/src/material/slider.dart | 2 +- packages/flutter/lib/src/material/snack_bar.dart | 6 +++--- packages/flutter/lib/src/material/switch.dart | 2 +- packages/flutter/lib/src/material/tabs.dart | 6 +++--- packages/flutter/lib/src/material/theme_data.dart | 2 +- packages/flutter/lib/src/material/time_picker.dart | 2 +- packages/flutter/lib/src/material/tooltip.dart | 2 +- packages/flutter/lib/src/material/typography.dart | 4 ++-- .../lib/src/material/user_accounts_drawer_header.dart | 2 +- 44 files changed, 65 insertions(+), 65 deletions(-) diff --git a/examples/README.md b/examples/README.md index da345011d7..336ad87343 100644 --- a/examples/README.md +++ b/examples/README.md @@ -23,7 +23,7 @@ Available examples include: the text "hello, world." - **Flutter gallery** The [flutter gallery app](flutter_gallery) showcases - Flutter's implementation of [material design](https://www.google.com/design/spec/material-design/introduction.html). + Flutter's implementation of [material design](https://material.google.com/). - **Layers** The [layers vignettes](layers) show how to use the various layers in the Flutter framework. There is no main.dart in this directory because each diff --git a/examples/flutter_gallery/lib/demo/full_screen_dialog_demo.dart b/examples/flutter_gallery/lib/demo/full_screen_dialog_demo.dart index aafdf53a7f..25d58ff699 100644 --- a/examples/flutter_gallery/lib/demo/full_screen_dialog_demo.dart +++ b/examples/flutter_gallery/lib/demo/full_screen_dialog_demo.dart @@ -7,7 +7,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; // This demo is based on -// https://www.google.com/design/spec/components/dialogs.html#dialogs-full-screen-dialogs +// https://material.google.com/components/dialogs.html#dialogs-full-screen-dialogs enum DismissDialogAction { cancel, diff --git a/packages/flutter/lib/material.dart b/packages/flutter/lib/material.dart index 395ac5f1d8..4f3af1b71d 100644 --- a/packages/flutter/lib/material.dart +++ b/packages/flutter/lib/material.dart @@ -7,7 +7,7 @@ /// To use, import `package:flutter/material.dart`. /// /// See -/// [www.google.com/design/spec/material-design](https://www.google.com/design/spec/material-design/introduction.html) +/// [material.google.com](https://material.google.com/) /// for an introduction to Material Design. library material; diff --git a/packages/flutter/lib/src/material/app.dart b/packages/flutter/lib/src/material/app.dart index add369a404..6241909965 100644 --- a/packages/flutter/lib/src/material/app.dart +++ b/packages/flutter/lib/src/material/app.dart @@ -149,7 +149,7 @@ class MaterialApp extends StatefulWidget { /// Turns on a [GridPaper] overlay that paints a baseline grid /// Material apps: - /// https://www.google.com/design/spec/layout/metrics-keylines.html + /// https://material.google.com/layout/metrics-keylines.html /// Only available in checked mode. final bool debugShowMaterialGrid; diff --git a/packages/flutter/lib/src/material/app_bar.dart b/packages/flutter/lib/src/material/app_bar.dart index 265df15d8c..b3e79e4216 100644 --- a/packages/flutter/lib/src/material/app_bar.dart +++ b/packages/flutter/lib/src/material/app_bar.dart @@ -83,7 +83,7 @@ class _ToolbarLayout extends MultiChildLayoutDelegate { } // TODO(eseidel) Toolbar needs to change size based on orientation: -// http://www.google.com/design/spec/layout/structure.html#structure-app-bar +// http://material.google.com/layout/structure.html#structure-app-bar // Mobile Landscape: 48dp // Mobile Portrait: 56dp // Tablet/Desktop: 64dp @@ -130,7 +130,7 @@ class _AppBarExpandedHeight extends InheritedWidget { /// * [IconButton] /// * [PopupMenuButton] /// * [FlexibleSpaceBar] -/// * +/// * class AppBar extends StatelessWidget { /// Creates a material design app bar. /// diff --git a/packages/flutter/lib/src/material/bottom_sheet.dart b/packages/flutter/lib/src/material/bottom_sheet.dart index df60efdbf1..c9e7727b1b 100644 --- a/packages/flutter/lib/src/material/bottom_sheet.dart +++ b/packages/flutter/lib/src/material/bottom_sheet.dart @@ -39,7 +39,7 @@ const Color _kBarrierColor = Colors.black54; /// /// * [Scaffold.showBottomSheet] /// * [showModalBottomSheet] -/// * +/// * class BottomSheet extends StatefulWidget { /// Creates a bottom sheet. /// @@ -255,7 +255,7 @@ class _ModalBottomSheetRoute extends PopupRoute { /// /// * [BottomSheet] /// * [Scaffold.showBottomSheet] -/// * +/// * Future showModalBottomSheet/**/({ BuildContext context, WidgetBuilder builder }) { assert(context != null); assert(builder != null); diff --git a/packages/flutter/lib/src/material/card.dart b/packages/flutter/lib/src/material/card.dart index bf263b67f5..d0b408269d 100644 --- a/packages/flutter/lib/src/material/card.dart +++ b/packages/flutter/lib/src/material/card.dart @@ -12,7 +12,7 @@ import 'material.dart'; /// /// * [Dialog] /// * [showDialog] -/// * +/// * class Card extends StatelessWidget { /// Creates a material design card. const Card({ diff --git a/packages/flutter/lib/src/material/checkbox.dart b/packages/flutter/lib/src/material/checkbox.dart index 072fbe0b4c..6728377596 100644 --- a/packages/flutter/lib/src/material/checkbox.dart +++ b/packages/flutter/lib/src/material/checkbox.dart @@ -28,8 +28,8 @@ import 'toggleable.dart'; /// * [Radio] /// * [Switch] /// * [Slider] -/// * -/// * +/// * +/// * class Checkbox extends StatefulWidget { /// Creates a material design checkbox. /// diff --git a/packages/flutter/lib/src/material/chip.dart b/packages/flutter/lib/src/material/chip.dart index b1da0c994f..4d801b9729 100644 --- a/packages/flutter/lib/src/material/chip.dart +++ b/packages/flutter/lib/src/material/chip.dart @@ -33,7 +33,7 @@ const TextStyle _kLabelStyle = const TextStyle( /// See also: /// /// * [CircleAvatar] -/// * +/// * class Chip extends StatelessWidget { /// Creates a material design chip. /// diff --git a/packages/flutter/lib/src/material/circle_avatar.dart b/packages/flutter/lib/src/material/circle_avatar.dart index c5913ee4a0..7c7e795bab 100644 --- a/packages/flutter/lib/src/material/circle_avatar.dart +++ b/packages/flutter/lib/src/material/circle_avatar.dart @@ -18,7 +18,7 @@ import 'theme.dart'; /// /// * [Chip] /// * [ListItem] -/// * +/// * class CircleAvatar extends StatelessWidget { /// Creates a circle that represents a user. CircleAvatar({ diff --git a/packages/flutter/lib/src/material/colors.dart b/packages/flutter/lib/src/material/colors.dart index 9771f58bc0..de35aaab30 100644 --- a/packages/flutter/lib/src/material/colors.dart +++ b/packages/flutter/lib/src/material/colors.dart @@ -5,7 +5,7 @@ import 'dart:ui' show Color; /// [Color] constants which represent Material design's -/// [color palette](http://www.google.com/design/spec/style/color.html). +/// [color palette](http://material.google.com/style/color.html). /// /// To select a specific color from one of the swatches, index into the swatch /// using an integer for the specific color desired, as follows: diff --git a/packages/flutter/lib/src/material/data_table.dart b/packages/flutter/lib/src/material/data_table.dart index f49f1e6bab..5e34b96b08 100644 --- a/packages/flutter/lib/src/material/data_table.dart +++ b/packages/flutter/lib/src/material/data_table.dart @@ -223,7 +223,7 @@ class DataCell { /// * [DataRow] /// * [DataCell] /// * [PaginatedDataTable] -/// * +/// * class DataTable extends StatelessWidget { /// Creates a widget describing a data table. /// diff --git a/packages/flutter/lib/src/material/date_picker.dart b/packages/flutter/lib/src/material/date_picker.dart index b4e5023be8..527ebd2a15 100644 --- a/packages/flutter/lib/src/material/date_picker.dart +++ b/packages/flutter/lib/src/material/date_picker.dart @@ -160,7 +160,7 @@ final _DayPickerGridDelegate _kDayPickerGridDelegate = new _DayPickerGridDelegat /// See also: /// /// * [showDatePicker]. -/// * +/// * class DayPicker extends StatelessWidget { /// Creates a day picker. /// @@ -288,7 +288,7 @@ class DayPicker extends StatelessWidget { /// See also: /// /// * [showDatePicker] -/// * +/// * class MonthPicker extends StatefulWidget { /// Creates a month picker. /// @@ -440,7 +440,7 @@ class _MonthPickerState extends State { /// See also: /// /// * [showDatePicker] -/// * +/// * class YearPicker extends StatefulWidget { /// Creates a year picker. /// @@ -676,7 +676,7 @@ class _DatePickerDialogState extends State<_DatePickerDialog> { /// See also: /// /// * [showTimePicker] -/// * +/// * Future showDatePicker({ BuildContext context, DateTime initialDate, diff --git a/packages/flutter/lib/src/material/dialog.dart b/packages/flutter/lib/src/material/dialog.dart index b6aa3260ba..b588390d00 100644 --- a/packages/flutter/lib/src/material/dialog.dart +++ b/packages/flutter/lib/src/material/dialog.dart @@ -24,7 +24,7 @@ import 'theme.dart'; /// * [AlertDialog] /// * [SimpleDialog] /// * [showDialog] -/// * +/// * class Dialog extends StatelessWidget { /// Creates a dialog. /// @@ -321,7 +321,7 @@ class _DialogRoute extends PopupRoute { /// /// See also: /// * [Dialog] -/// * +/// * Future showDialog/**/({ BuildContext context, Widget child }) { return Navigator.push(context, new _DialogRoute( child: child, diff --git a/packages/flutter/lib/src/material/divider.dart b/packages/flutter/lib/src/material/divider.dart index 4684b42854..3de1d79653 100644 --- a/packages/flutter/lib/src/material/divider.dart +++ b/packages/flutter/lib/src/material/divider.dart @@ -19,7 +19,7 @@ import 'theme.dart'; /// /// * [ListItem.divideItems] /// * [PopupMenuDivider] -/// * +/// * class Divider extends StatelessWidget { /// Creates a material design divider. /// diff --git a/packages/flutter/lib/src/material/drawer.dart b/packages/flutter/lib/src/material/drawer.dart index a22a6cebff..a4a8148668 100644 --- a/packages/flutter/lib/src/material/drawer.dart +++ b/packages/flutter/lib/src/material/drawer.dart @@ -8,7 +8,7 @@ import 'colors.dart'; import 'material.dart'; // TODO(eseidel): Draw width should vary based on device size: -// http://www.google.com/design/spec/layout/structure.html#structure-side-nav +// http://material.google.com/layout/structure.html#structure-side-nav // Mobile: // Width = Screen width − 56 dp @@ -39,7 +39,7 @@ const Duration _kBaseSettleDuration = const Duration(milliseconds: 246); /// * [Scaffold.drawer] /// * [DrawerItem] /// * [DrawerHeader] -/// * +/// * class Drawer extends StatelessWidget { /// Creates a material design drawer. /// diff --git a/packages/flutter/lib/src/material/drawer_header.dart b/packages/flutter/lib/src/material/drawer_header.dart index b277085ea9..0e387e13de 100644 --- a/packages/flutter/lib/src/material/drawer_header.dart +++ b/packages/flutter/lib/src/material/drawer_header.dart @@ -23,7 +23,7 @@ const double _kDrawerHeaderHeight = 160.0 + 1.0; // bottom edge /// * [UserAccountsDrawerHeader], a variant of [DrawerHeader] that is /// specialized for showing user accounts. /// * [DrawerItem] -/// * +/// * class DrawerHeader extends StatelessWidget { /// Creates a material design drawer header. /// diff --git a/packages/flutter/lib/src/material/drawer_item.dart b/packages/flutter/lib/src/material/drawer_item.dart index 3243f0ed13..a0aa7e59cf 100644 --- a/packages/flutter/lib/src/material/drawer_item.dart +++ b/packages/flutter/lib/src/material/drawer_item.dart @@ -24,7 +24,7 @@ import 'theme.dart'; /// /// * [Drawer] /// * [DrawerHeader] -/// * +/// * class DrawerItem extends StatelessWidget { /// Creates a material design drawer item. /// diff --git a/packages/flutter/lib/src/material/drop_down.dart b/packages/flutter/lib/src/material/drop_down.dart index 958a9dd9fe..7d08619dbc 100644 --- a/packages/flutter/lib/src/material/drop_down.dart +++ b/packages/flutter/lib/src/material/drop_down.dart @@ -211,7 +211,7 @@ class _DropdownMenuRouteLayout extends SingleChildLayoutDelegate { // The maximum height of a simple menu should be one or more rows less than // the view height. This ensures a tappable area outside of the simple menu // with which to dismiss the menu. - // -- https://www.google.com/design/spec/components/menus.html#menus-simple-menus + // -- https://material.google.com/components/menus.html#menus-simple-menus final double maxHeight = math.max(0.0, constraints.maxHeight - 2 * _kMenuItemHeight); final double width = buttonRect.width + 8.0; return new BoxConstraints( @@ -405,7 +405,7 @@ class DropdownButtonHideUnderline extends InheritedWidget { /// /// * [RaisedButton] /// * [FlatButton] -/// * +/// * class DropdownButton extends StatefulWidget { /// Creates a drop down button. /// diff --git a/packages/flutter/lib/src/material/flat_button.dart b/packages/flutter/lib/src/material/flat_button.dart index bdf5b5244e..085f7105ab 100644 --- a/packages/flutter/lib/src/material/flat_button.dart +++ b/packages/flutter/lib/src/material/flat_button.dart @@ -33,7 +33,7 @@ import 'theme.dart'; /// /// * [RaisedButton] /// * [DropdownButton] -/// * +/// * class FlatButton extends StatelessWidget { /// Creates a flat button. /// diff --git a/packages/flutter/lib/src/material/flexible_space_bar.dart b/packages/flutter/lib/src/material/flexible_space_bar.dart index e694f84805..798622797f 100644 --- a/packages/flutter/lib/src/material/flexible_space_bar.dart +++ b/packages/flutter/lib/src/material/flexible_space_bar.dart @@ -25,7 +25,7 @@ import 'theme.dart'; /// /// * [AppBar] /// * [Scaffold] -/// * +/// * class FlexibleSpaceBar extends StatefulWidget { /// Creates a flexible space bar. /// diff --git a/packages/flutter/lib/src/material/floating_action_button.dart b/packages/flutter/lib/src/material/floating_action_button.dart index 19405dfb3d..e85cb9cc25 100644 --- a/packages/flutter/lib/src/material/floating_action_button.dart +++ b/packages/flutter/lib/src/material/floating_action_button.dart @@ -14,7 +14,7 @@ import 'theme.dart'; import 'tooltip.dart'; // TODO(eseidel): This needs to change based on device size? -// http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylines-keylines-spacing +// http://material.google.com/layout/metrics-keylines.html#metrics-keylines-keylines-spacing const double _kSize = 56.0; const double _kSizeMini = 40.0; final Object _kDefaultHeroTag = new Object(); @@ -37,7 +37,7 @@ final Object _kDefaultHeroTag = new Object(); /// * [Scaffold] /// * [RaisedButton] /// * [FlatButton] -/// * +/// * class FloatingActionButton extends StatefulWidget { /// Creates a floating action button. /// diff --git a/packages/flutter/lib/src/material/grid_tile.dart b/packages/flutter/lib/src/material/grid_tile.dart index 4f0413f7b5..827c352215 100644 --- a/packages/flutter/lib/src/material/grid_tile.dart +++ b/packages/flutter/lib/src/material/grid_tile.dart @@ -14,7 +14,7 @@ import 'package:flutter/widgets.dart'; /// /// * [ScrollableGrid] /// * [GridTileBar] -/// * +/// * class GridTile extends StatelessWidget { /// Creates a grid tile. /// diff --git a/packages/flutter/lib/src/material/grid_tile_bar.dart b/packages/flutter/lib/src/material/grid_tile_bar.dart index e6fdccbd06..7fb8bdc82a 100644 --- a/packages/flutter/lib/src/material/grid_tile_bar.dart +++ b/packages/flutter/lib/src/material/grid_tile_bar.dart @@ -19,7 +19,7 @@ import 'typography.dart'; /// See also: /// /// * [GridTile] -/// * +/// * class GridTileBar extends StatelessWidget { /// Creates a grid tile bar. /// diff --git a/packages/flutter/lib/src/material/input.dart b/packages/flutter/lib/src/material/input.dart index d04cf7601b..258057def4 100644 --- a/packages/flutter/lib/src/material/input.dart +++ b/packages/flutter/lib/src/material/input.dart @@ -30,7 +30,7 @@ export 'package:flutter/services.dart' show TextInputType; /// /// See also: /// -/// * +/// * /// /// For a detailed guide on using the input widget, see: /// diff --git a/packages/flutter/lib/src/material/list.dart b/packages/flutter/lib/src/material/list.dart index 542676d2f5..60cbd59636 100644 --- a/packages/flutter/lib/src/material/list.dart +++ b/packages/flutter/lib/src/material/list.dart @@ -11,7 +11,7 @@ import 'package:flutter/widgets.dart'; /// * [MaterialList] /// * [ListItem] /// * [kListItemExtent] -/// * +/// * enum MaterialListType { /// A list item that contains a single line of text. oneLine, @@ -33,7 +33,7 @@ enum MaterialListType { /// * [MaterialListType] /// * [ListItem] /// * [kListItemExtent] -/// * +/// * Map kListItemExtent = const { MaterialListType.oneLine: 48.0, MaterialListType.oneLineWithAvatar: 56.0, @@ -52,7 +52,7 @@ Map kListItemExtent = const /// * [ScrollableList] /// * [TwoLevelList] /// * [ScrollableGrid] -/// * +/// * class MaterialList extends StatelessWidget { /// Creates a material list. /// diff --git a/packages/flutter/lib/src/material/list_item.dart b/packages/flutter/lib/src/material/list_item.dart index 4f66054d67..85939ca983 100644 --- a/packages/flutter/lib/src/material/list_item.dart +++ b/packages/flutter/lib/src/material/list_item.dart @@ -26,7 +26,7 @@ import 'theme.dart'; /// * [MaterialList] /// * [CircleAvatar] /// * [Divider] -/// * +/// * class ListItem extends StatelessWidget { /// Creates a list item. /// diff --git a/packages/flutter/lib/src/material/material.dart b/packages/flutter/lib/src/material/material.dart index 36974ce9c6..210bac2359 100644 --- a/packages/flutter/lib/src/material/material.dart +++ b/packages/flutter/lib/src/material/material.dart @@ -160,7 +160,7 @@ abstract class MaterialInkController { /// /// See also: /// -/// * +/// * class Material extends StatefulWidget { /// Creates a piece of material. /// diff --git a/packages/flutter/lib/src/material/paginated_data_table.dart b/packages/flutter/lib/src/material/paginated_data_table.dart index 54d92397c1..5129e96296 100644 --- a/packages/flutter/lib/src/material/paginated_data_table.dart +++ b/packages/flutter/lib/src/material/paginated_data_table.dart @@ -358,7 +358,7 @@ class PaginatedDataTableState extends State { new DefaultTextStyle( // These typographic styles aren't quite the regular ones. We pick the closest ones from the regular // list and then tweak them appropriately. - // See https://www.google.com/design/spec/components/data-tables.html#data-tables-tables-within-cards + // See https://material.google.com/components/data-tables.html#data-tables-tables-within-cards style: _selectedRowCount > 0 ? themeData.textTheme.subhead.copyWith(color: themeData.accentColor) : themeData.textTheme.title.copyWith(fontWeight: FontWeight.w400), child: new IconTheme.merge( diff --git a/packages/flutter/lib/src/material/progress_indicator.dart b/packages/flutter/lib/src/material/progress_indicator.dart index 46162fc576..1796a438e0 100644 --- a/packages/flutter/lib/src/material/progress_indicator.dart +++ b/packages/flutter/lib/src/material/progress_indicator.dart @@ -23,7 +23,7 @@ const double _kCircularProgressIndicatorStrokeWidth = 4.0; /// /// See also: /// -/// * +/// * abstract class ProgressIndicator extends StatefulWidget { /// Creates a progress indicator. /// @@ -130,7 +130,7 @@ class _LinearProgressIndicatorPainter extends CustomPainter { /// See also: /// /// * [CircularProgressIndicator] -/// * +/// * class LinearProgressIndicator extends ProgressIndicator { /// Creates a linear progress indicator. /// @@ -276,7 +276,7 @@ class _CircularProgressIndicatorPainter extends CustomPainter { /// See also: /// /// * [LinearProgressIndicator] -/// * +/// * class CircularProgressIndicator extends ProgressIndicator { /// Creates a circular progress indicator. /// diff --git a/packages/flutter/lib/src/material/radio.dart b/packages/flutter/lib/src/material/radio.dart index f5cadb0530..0762d39b05 100644 --- a/packages/flutter/lib/src/material/radio.dart +++ b/packages/flutter/lib/src/material/radio.dart @@ -34,7 +34,7 @@ const double _kInnerRadius = 5.0; /// * [CheckBox] /// * [Slider] /// * [Switch] -/// * +/// * class Radio extends StatefulWidget { /// Creates a material design radio button. /// diff --git a/packages/flutter/lib/src/material/raised_button.dart b/packages/flutter/lib/src/material/raised_button.dart index 65b86ebb36..ef35c788b5 100644 --- a/packages/flutter/lib/src/material/raised_button.dart +++ b/packages/flutter/lib/src/material/raised_button.dart @@ -31,7 +31,7 @@ import 'theme.dart'; /// * [FlatButton] /// * [DropdownButton] /// * [FloatingActionButton] -/// * +/// * class RaisedButton extends StatelessWidget { /// Creates a raised button. /// diff --git a/packages/flutter/lib/src/material/refresh_indicator.dart b/packages/flutter/lib/src/material/refresh_indicator.dart index 986bb525d4..5b86a9c6dd 100644 --- a/packages/flutter/lib/src/material/refresh_indicator.dart +++ b/packages/flutter/lib/src/material/refresh_indicator.dart @@ -79,7 +79,7 @@ enum _DismissTransition { /// /// See also: /// -/// * +/// * /// * [RefreshIndicatorState], can be used to programatically show the refresh indicator. /// * [RefreshProgressIndicator]. class RefreshIndicator extends StatefulWidget { diff --git a/packages/flutter/lib/src/material/scaffold.dart b/packages/flutter/lib/src/material/scaffold.dart index f5fa27e1bd..b70f2e303e 100644 --- a/packages/flutter/lib/src/material/scaffold.dart +++ b/packages/flutter/lib/src/material/scaffold.dart @@ -296,7 +296,7 @@ class _FloatingActionButtonTransitionState extends State<_FloatingActionButtonTr /// * [SnackBar] /// * [BottomSheet] /// * [ScaffoldState] -/// * +/// * class Scaffold extends StatefulWidget { /// Creates a visual scaffold for material design widgets. /// @@ -525,7 +525,7 @@ class ScaffoldState extends State with TickerProviderStateMixin { /// /// * [BottomSheet] /// * [showModalBottomSheet] - /// * + /// * PersistentBottomSheetController showBottomSheet/**/(WidgetBuilder builder) { if (_currentBottomSheet != null) { _currentBottomSheet.close(); diff --git a/packages/flutter/lib/src/material/shadows.dart b/packages/flutter/lib/src/material/shadows.dart index 9831051362..7d39a79cab 100644 --- a/packages/flutter/lib/src/material/shadows.dart +++ b/packages/flutter/lib/src/material/shadows.dart @@ -6,7 +6,7 @@ import 'dart:ui' show Color, Offset; import 'package:flutter/painting.dart'; -// Based on http://www.google.com/design/spec/what-is-material/elevation-shadows.html +// Based on http://material.google.com/what-is-material/elevation-shadows.html // Currently, only the elevation values that are bound to one or more widgets are // defined here. @@ -20,7 +20,7 @@ import 'package:flutter/painting.dart'; /// See also: /// /// * [Material] -/// * +/// * const Map> kElevationToShadow = _elevationToShadow; // to hide the literal from the docs const Color _kKeyUmbraOpacity = const Color(0x33000000); // alpha = 0.2 diff --git a/packages/flutter/lib/src/material/slider.dart b/packages/flutter/lib/src/material/slider.dart index 7630c87722..c271da3270 100644 --- a/packages/flutter/lib/src/material/slider.dart +++ b/packages/flutter/lib/src/material/slider.dart @@ -38,7 +38,7 @@ import 'typography.dart'; /// * [CheckBox] /// * [Radio] /// * [Switch] -/// * +/// * class Slider extends StatefulWidget { /// Creates a material design slider. /// diff --git a/packages/flutter/lib/src/material/snack_bar.dart b/packages/flutter/lib/src/material/snack_bar.dart index ace25f9690..72644d673f 100644 --- a/packages/flutter/lib/src/material/snack_bar.dart +++ b/packages/flutter/lib/src/material/snack_bar.dart @@ -13,7 +13,7 @@ import 'theme_data.dart'; import 'theme.dart'; import 'typography.dart'; -// https://www.google.com/design/spec/components/snackbars-toasts.html#snackbars-toasts-specs +// https://material.google.com/components/snackbars-toasts.html#snackbars-toasts-specs const double _kSnackBarPadding = 24.0; const double _kSingleLineVerticalPadding = 14.0; const double _kMultiLineVerticalTopPadding = 24.0; @@ -42,7 +42,7 @@ const Curve _snackBarFadeCurve = const Interval(0.72, 1.0, curve: Curves.fastOut /// See also: /// /// * [SnackBar] -/// * +/// * class SnackBarAction extends StatefulWidget { /// Creates an action for a [SnackBar]. /// @@ -99,7 +99,7 @@ class _SnackBarActionState extends State { /// /// * [Scaffold.of] and [ScaffoldState.showSnackBar] /// * [SnackBarAction] -/// * +/// * class SnackBar extends StatelessWidget { /// Creates a snack bar. /// diff --git a/packages/flutter/lib/src/material/switch.dart b/packages/flutter/lib/src/material/switch.dart index 29cafc22f2..cb89d1c94c 100644 --- a/packages/flutter/lib/src/material/switch.dart +++ b/packages/flutter/lib/src/material/switch.dart @@ -31,7 +31,7 @@ import 'toggleable.dart'; /// * [CheckBox] /// * [Radio] /// * [Slider] -/// * +/// * class Switch extends StatefulWidget { /// Creates a material design switch. /// diff --git a/packages/flutter/lib/src/material/tabs.dart b/packages/flutter/lib/src/material/tabs.dart index 855aea5773..54037264bb 100644 --- a/packages/flutter/lib/src/material/tabs.dart +++ b/packages/flutter/lib/src/material/tabs.dart @@ -23,7 +23,7 @@ import 'theme.dart'; typedef void _TabLayoutChanged(Size size, List widths); -// See https://www.google.com/design/spec/components/tabs.html#tabs-specs +// See https://material.google.com/components/tabs.html#tabs-specs const double _kTabHeight = 46.0; const double _kTextAndIconTabHeight = 72.0; const double _kTabIndicatorHeight = 2.0; @@ -720,7 +720,7 @@ class _TabIndicatorTween extends Tween { /// * [TabBarSelection] /// * [TabBarView] /// * [AppBar.tabBar] -/// * +/// * class TabBar extends Scrollable implements AppBarBottomWidget { /// Creates a widget that displays a horizontal row of tabs, one per label. /// @@ -1075,7 +1075,7 @@ class _TabBarState extends ScrollableState> implements TabBarSelect /// /// * [TabBarSelection] /// * [TabBar] -/// * +/// * class TabBarView extends PageableList { /// Creates a widget that displays the contents of a tab. /// diff --git a/packages/flutter/lib/src/material/theme_data.dart b/packages/flutter/lib/src/material/theme_data.dart index 5c48e6a2b3..2b482309e9 100644 --- a/packages/flutter/lib/src/material/theme_data.dart +++ b/packages/flutter/lib/src/material/theme_data.dart @@ -64,7 +64,7 @@ class ThemeData { /// ([accentColorBrightness]), so that the right contrasting text /// color will be used over the accent color. /// - /// See for + /// See for /// more discussion on how to pick the right colors. factory ThemeData({ Brightness brightness, diff --git a/packages/flutter/lib/src/material/time_picker.dart b/packages/flutter/lib/src/material/time_picker.dart index 21c3795973..75b20fbb1d 100644 --- a/packages/flutter/lib/src/material/time_picker.dart +++ b/packages/flutter/lib/src/material/time_picker.dart @@ -726,7 +726,7 @@ class _TimePickerDialogState extends State<_TimePickerDialog> { /// See also: /// /// * [showDatePicker] -/// * +/// * Future showTimePicker({ BuildContext context, TimeOfDay initialTime diff --git a/packages/flutter/lib/src/material/tooltip.dart b/packages/flutter/lib/src/material/tooltip.dart index 692464e48a..2b70dd12b8 100644 --- a/packages/flutter/lib/src/material/tooltip.dart +++ b/packages/flutter/lib/src/material/tooltip.dart @@ -32,7 +32,7 @@ const Duration _kShowDuration = const Duration(milliseconds: 1500); /// /// See also: /// -/// * +/// * class Tooltip extends StatefulWidget { /// Creates a tooltip. /// diff --git a/packages/flutter/lib/src/material/typography.dart b/packages/flutter/lib/src/material/typography.dart index 46dfe98c49..88e662dd1b 100644 --- a/packages/flutter/lib/src/material/typography.dart +++ b/packages/flutter/lib/src/material/typography.dart @@ -25,7 +25,7 @@ import 'colors.dart'; /// * [Typography] /// * [Theme] /// * [ThemeData] -/// * +/// * class TextTheme { /// Create a text theme that uses the given values. /// @@ -267,7 +267,7 @@ class TextTheme { /// /// * [Theme] /// * [ThemeData] -/// * +/// * class Typography { Typography._(); diff --git a/packages/flutter/lib/src/material/user_accounts_drawer_header.dart b/packages/flutter/lib/src/material/user_accounts_drawer_header.dart index 7b970bef0b..8c6af72747 100644 --- a/packages/flutter/lib/src/material/user_accounts_drawer_header.dart +++ b/packages/flutter/lib/src/material/user_accounts_drawer_header.dart @@ -23,7 +23,7 @@ import 'debug.dart'; /// /// * [Drawer] /// * [DrawerHeader], for a drawer header that doesn't show user acounts -/// * +/// * class UserAccountsDrawerHeader extends StatefulWidget { /// Creates a material design drawer header. ///