#6344 update google.com/material links to material.google.com (#6484)
diff --git a/examples/README.md b/examples/README.md
index da34501..336ad87 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -23,7 +23,7 @@
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 aafdf53..25d58ff 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/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 395ac5f..4f3af1b 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 add369a4..6241909 100644
--- a/packages/flutter/lib/src/material/app.dart
+++ b/packages/flutter/lib/src/material/app.dart
@@ -149,7 +149,7 @@
/// 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 265df15..b3e79e4 100644
--- a/packages/flutter/lib/src/material/app_bar.dart
+++ b/packages/flutter/lib/src/material/app_bar.dart
@@ -83,7 +83,7 @@
}
// 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 @@
/// * [IconButton]
/// * [PopupMenuButton]
/// * [FlexibleSpaceBar]
-/// * <https://www.google.com/design/spec/layout/structure.html#structure-toolbars>
+/// * <https://material.google.com/layout/structure.html#structure-toolbars>
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 df60efd..c9e7727 100644
--- a/packages/flutter/lib/src/material/bottom_sheet.dart
+++ b/packages/flutter/lib/src/material/bottom_sheet.dart
@@ -39,7 +39,7 @@
///
/// * [Scaffold.showBottomSheet]
/// * [showModalBottomSheet]
-/// * <https://www.google.com/design/spec/components/bottom-sheets.html>
+/// * <https://material.google.com/components/bottom-sheets.html>
class BottomSheet extends StatefulWidget {
/// Creates a bottom sheet.
///
@@ -255,7 +255,7 @@
///
/// * [BottomSheet]
/// * [Scaffold.showBottomSheet]
-/// * <https://www.google.com/design/spec/components/bottom-sheets.html#bottom-sheets-modal-bottom-sheets>
+/// * <https://material.google.com/components/bottom-sheets.html#bottom-sheets-modal-bottom-sheets>
Future<dynamic/*=T*/> showModalBottomSheet/*<T>*/({ 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 bf263b6..d0b4082 100644
--- a/packages/flutter/lib/src/material/card.dart
+++ b/packages/flutter/lib/src/material/card.dart
@@ -12,7 +12,7 @@
///
/// * [Dialog]
/// * [showDialog]
-/// * <https://www.google.com/design/spec/components/cards.html>
+/// * <https://material.google.com/components/cards.html>
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 072fbe0..6728377 100644
--- a/packages/flutter/lib/src/material/checkbox.dart
+++ b/packages/flutter/lib/src/material/checkbox.dart
@@ -28,8 +28,8 @@
/// * [Radio]
/// * [Switch]
/// * [Slider]
-/// * <https://www.google.com/design/spec/components/selection-controls.html#selection-controls-checkbox>
-/// * <https://www.google.com/design/spec/components/lists-controls.html#lists-controls-types-of-list-controls>
+/// * <https://material.google.com/components/selection-controls.html#selection-controls-checkbox>
+/// * <https://material.google.com/components/lists-controls.html#lists-controls-types-of-list-controls>
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 b1da0c9..4d801b9 100644
--- a/packages/flutter/lib/src/material/chip.dart
+++ b/packages/flutter/lib/src/material/chip.dart
@@ -33,7 +33,7 @@
/// See also:
///
/// * [CircleAvatar]
-/// * <https://www.google.com/design/spec/components/chips.html>
+/// * <https://material.google.com/components/chips.html>
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 c5913ee..7c7e795 100644
--- a/packages/flutter/lib/src/material/circle_avatar.dart
+++ b/packages/flutter/lib/src/material/circle_avatar.dart
@@ -18,7 +18,7 @@
///
/// * [Chip]
/// * [ListItem]
-/// * <https://www.google.com/design/spec/components/chips.html#chips-contact-chips>
+/// * <https://material.google.com/components/chips.html#chips-contact-chips>
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 9771f58..de35aaa 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 f49f1e6..5e34b96 100644
--- a/packages/flutter/lib/src/material/data_table.dart
+++ b/packages/flutter/lib/src/material/data_table.dart
@@ -223,7 +223,7 @@
/// * [DataRow]
/// * [DataCell]
/// * [PaginatedDataTable]
-/// * <https://www.google.com/design/spec/components/data-tables.html>
+/// * <https://material.google.com/components/data-tables.html>
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 b4e5023..527ebd2 100644
--- a/packages/flutter/lib/src/material/date_picker.dart
+++ b/packages/flutter/lib/src/material/date_picker.dart
@@ -160,7 +160,7 @@
/// See also:
///
/// * [showDatePicker].
-/// * <https://www.google.com/design/spec/components/pickers.html#pickers-date-pickers>
+/// * <https://material.google.com/components/pickers.html#pickers-date-pickers>
class DayPicker extends StatelessWidget {
/// Creates a day picker.
///
@@ -288,7 +288,7 @@
/// See also:
///
/// * [showDatePicker]
-/// * <https://www.google.com/design/spec/components/pickers.html#pickers-date-pickers>
+/// * <https://material.google.com/components/pickers.html#pickers-date-pickers>
class MonthPicker extends StatefulWidget {
/// Creates a month picker.
///
@@ -440,7 +440,7 @@
/// See also:
///
/// * [showDatePicker]
-/// * <https://www.google.com/design/spec/components/pickers.html#pickers-date-pickers>
+/// * <https://material.google.com/components/pickers.html#pickers-date-pickers>
class YearPicker extends StatefulWidget {
/// Creates a year picker.
///
@@ -676,7 +676,7 @@
/// See also:
///
/// * [showTimePicker]
-/// * <https://www.google.com/design/spec/components/pickers.html#pickers-date-pickers>
+/// * <https://material.google.com/components/pickers.html#pickers-date-pickers>
Future<DateTime> showDatePicker({
BuildContext context,
DateTime initialDate,
diff --git a/packages/flutter/lib/src/material/dialog.dart b/packages/flutter/lib/src/material/dialog.dart
index b6aa326..b588390 100644
--- a/packages/flutter/lib/src/material/dialog.dart
+++ b/packages/flutter/lib/src/material/dialog.dart
@@ -24,7 +24,7 @@
/// * [AlertDialog]
/// * [SimpleDialog]
/// * [showDialog]
-/// * <https://www.google.com/design/spec/components/dialogs.html>
+/// * <https://material.google.com/components/dialogs.html>
class Dialog extends StatelessWidget {
/// Creates a dialog.
///
@@ -321,7 +321,7 @@
///
/// See also:
/// * [Dialog]
-/// * <https://www.google.com/design/spec/components/dialogs.html>
+/// * <https://material.google.com/components/dialogs.html>
Future<dynamic/*=T*/> showDialog/*<T>*/({ BuildContext context, Widget child }) {
return Navigator.push(context, new _DialogRoute<dynamic/*=T*/>(
child: child,
diff --git a/packages/flutter/lib/src/material/divider.dart b/packages/flutter/lib/src/material/divider.dart
index 4684b42..3de1d79 100644
--- a/packages/flutter/lib/src/material/divider.dart
+++ b/packages/flutter/lib/src/material/divider.dart
@@ -19,7 +19,7 @@
///
/// * [ListItem.divideItems]
/// * [PopupMenuDivider]
-/// * <https://www.google.com/design/spec/components/dividers.html>
+/// * <https://material.google.com/components/dividers.html>
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 a22a6ce..a4a8148 100644
--- a/packages/flutter/lib/src/material/drawer.dart
+++ b/packages/flutter/lib/src/material/drawer.dart
@@ -8,7 +8,7 @@
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 @@
/// * [Scaffold.drawer]
/// * [DrawerItem]
/// * [DrawerHeader]
-/// * <https://www.google.com/design/spec/patterns/navigation-drawer.html>
+/// * <https://material.google.com/patterns/navigation-drawer.html>
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 b277085..0e387e1 100644
--- a/packages/flutter/lib/src/material/drawer_header.dart
+++ b/packages/flutter/lib/src/material/drawer_header.dart
@@ -23,7 +23,7 @@
/// * [UserAccountsDrawerHeader], a variant of [DrawerHeader] that is
/// specialized for showing user accounts.
/// * [DrawerItem]
-/// * <https://www.google.com/design/spec/patterns/navigation-drawer.html>
+/// * <https://material.google.com/patterns/navigation-drawer.html>
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 3243f0e..a0aa7e5 100644
--- a/packages/flutter/lib/src/material/drawer_item.dart
+++ b/packages/flutter/lib/src/material/drawer_item.dart
@@ -24,7 +24,7 @@
///
/// * [Drawer]
/// * [DrawerHeader]
-/// * <https://www.google.com/design/spec/patterns/navigation-drawer.html>
+/// * <https://material.google.com/patterns/navigation-drawer.html>
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 958a9dd..7d08619 100644
--- a/packages/flutter/lib/src/material/drop_down.dart
+++ b/packages/flutter/lib/src/material/drop_down.dart
@@ -211,7 +211,7 @@
// 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 @@
///
/// * [RaisedButton]
/// * [FlatButton]
-/// * <https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons>
+/// * <https://material.google.com/components/buttons.html#buttons-dropdown-buttons>
class DropdownButton<T> 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 bdf5b52..085f710 100644
--- a/packages/flutter/lib/src/material/flat_button.dart
+++ b/packages/flutter/lib/src/material/flat_button.dart
@@ -33,7 +33,7 @@
///
/// * [RaisedButton]
/// * [DropdownButton]
-/// * <https://www.google.com/design/spec/components/buttons.html>
+/// * <https://material.google.com/components/buttons.html>
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 e694f84..7986227 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 @@
///
/// * [AppBar]
/// * [Scaffold]
-/// * <https://www.google.com/design/spec/patterns/scrolling-techniques.html>
+/// * <https://material.google.com/patterns/scrolling-techniques.html>
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 19405df..e85cb9c 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 '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 @@
/// * [Scaffold]
/// * [RaisedButton]
/// * [FlatButton]
-/// * <https://www.google.com/design/spec/components/buttons-floating-action-button.html>
+/// * <https://material.google.com/components/buttons-floating-action-button.html>
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 4f0413f..827c352 100644
--- a/packages/flutter/lib/src/material/grid_tile.dart
+++ b/packages/flutter/lib/src/material/grid_tile.dart
@@ -14,7 +14,7 @@
///
/// * [ScrollableGrid]
/// * [GridTileBar]
-/// * <https://www.google.com/design/spec/components/grid-lists.html>
+/// * <https://material.google.com/components/grid-lists.html>
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 e6fdccb..7fb8bdc 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 @@
/// See also:
///
/// * [GridTile]
-/// * <https://www.google.com/design/spec/components/grid-lists.html#grid-lists-specs>
+/// * <https://material.google.com/components/grid-lists.html#grid-lists-specs>
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 d04cf76..258057d 100644
--- a/packages/flutter/lib/src/material/input.dart
+++ b/packages/flutter/lib/src/material/input.dart
@@ -30,7 +30,7 @@
///
/// See also:
///
-/// * <https://www.google.com/design/spec/components/text-fields.html>
+/// * <https://material.google.com/components/text-fields.html>
///
/// 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 542676d..60cbd59 100644
--- a/packages/flutter/lib/src/material/list.dart
+++ b/packages/flutter/lib/src/material/list.dart
@@ -11,7 +11,7 @@
/// * [MaterialList]
/// * [ListItem]
/// * [kListItemExtent]
-/// * <https://www.google.com/design/spec/components/lists.html#lists-specs>
+/// * <https://material.google.com/components/lists.html#lists-specs>
enum MaterialListType {
/// A list item that contains a single line of text.
oneLine,
@@ -33,7 +33,7 @@
/// * [MaterialListType]
/// * [ListItem]
/// * [kListItemExtent]
-/// * <https://www.google.com/design/spec/components/lists.html#lists-specs>
+/// * <https://material.google.com/components/lists.html#lists-specs>
Map<MaterialListType, double> kListItemExtent = const <MaterialListType, double>{
MaterialListType.oneLine: 48.0,
MaterialListType.oneLineWithAvatar: 56.0,
@@ -52,7 +52,7 @@
/// * [ScrollableList]
/// * [TwoLevelList]
/// * [ScrollableGrid]
-/// * <https://www.google.com/design/spec/components/lists.html>
+/// * <https://material.google.com/components/lists.html>
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 4f66054..85939ca 100644
--- a/packages/flutter/lib/src/material/list_item.dart
+++ b/packages/flutter/lib/src/material/list_item.dart
@@ -26,7 +26,7 @@
/// * [MaterialList]
/// * [CircleAvatar]
/// * [Divider]
-/// * <https://www.google.com/design/spec/components/lists.html>
+/// * <https://material.google.com/components/lists.html>
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 36974ce..210bac2 100644
--- a/packages/flutter/lib/src/material/material.dart
+++ b/packages/flutter/lib/src/material/material.dart
@@ -160,7 +160,7 @@
///
/// See also:
///
-/// * <https://www.google.com/design/spec/material-design/introduction.html>
+/// * <https://material.google.com/>
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 54d9239..5129e96 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 @@
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 46162fc..1796a43 100644
--- a/packages/flutter/lib/src/material/progress_indicator.dart
+++ b/packages/flutter/lib/src/material/progress_indicator.dart
@@ -23,7 +23,7 @@
///
/// See also:
///
-/// * <https://www.google.com/design/spec/components/progress-activity.html>
+/// * <https://material.google.com/components/progress-activity.html>
abstract class ProgressIndicator extends StatefulWidget {
/// Creates a progress indicator.
///
@@ -130,7 +130,7 @@
/// See also:
///
/// * [CircularProgressIndicator]
-/// * <https://www.google.com/design/spec/components/progress-activity.html#progress-activity-types-of-indicators>
+/// * <https://material.google.com/components/progress-activity.html#progress-activity-types-of-indicators>
class LinearProgressIndicator extends ProgressIndicator {
/// Creates a linear progress indicator.
///
@@ -276,7 +276,7 @@
/// See also:
///
/// * [LinearProgressIndicator]
-/// * <https://www.google.com/design/spec/components/progress-activity.html#progress-activity-types-of-indicators>
+/// * <https://material.google.com/components/progress-activity.html#progress-activity-types-of-indicators>
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 f5cadb0..0762d39 100644
--- a/packages/flutter/lib/src/material/radio.dart
+++ b/packages/flutter/lib/src/material/radio.dart
@@ -34,7 +34,7 @@
/// * [CheckBox]
/// * [Slider]
/// * [Switch]
-/// * <https://www.google.com/design/spec/components/selection-controls.html#selection-controls-radio-button>
+/// * <https://material.google.com/components/selection-controls.html#selection-controls-radio-button>
class Radio<T> 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 65b86eb..ef35c78 100644
--- a/packages/flutter/lib/src/material/raised_button.dart
+++ b/packages/flutter/lib/src/material/raised_button.dart
@@ -31,7 +31,7 @@
/// * [FlatButton]
/// * [DropdownButton]
/// * [FloatingActionButton]
-/// * <https://www.google.com/design/spec/components/buttons.html>
+/// * <https://material.google.com/components/buttons.html>
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 986bb52..5b86a9c 100644
--- a/packages/flutter/lib/src/material/refresh_indicator.dart
+++ b/packages/flutter/lib/src/material/refresh_indicator.dart
@@ -79,7 +79,7 @@
///
/// See also:
///
-/// * <https://www.google.com/design/spec/patterns/swipe-to-refresh.html>
+/// * <https://material.google.com/patterns/swipe-to-refresh.html>
/// * [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 f5fa27e..b70f2e3 100644
--- a/packages/flutter/lib/src/material/scaffold.dart
+++ b/packages/flutter/lib/src/material/scaffold.dart
@@ -296,7 +296,7 @@
/// * [SnackBar]
/// * [BottomSheet]
/// * [ScaffoldState]
-/// * <https://www.google.com/design/spec/layout/structure.html>
+/// * <https://material.google.com/layout/structure.html>
class Scaffold extends StatefulWidget {
/// Creates a visual scaffold for material design widgets.
///
@@ -525,7 +525,7 @@
///
/// * [BottomSheet]
/// * [showModalBottomSheet]
- /// * <https://www.google.com/design/spec/components/bottom-sheets.html#bottom-sheets-persistent-bottom-sheets>
+ /// * <https://material.google.com/components/bottom-sheets.html#bottom-sheets-persistent-bottom-sheets>
PersistentBottomSheetController<dynamic/*=T*/> showBottomSheet/*<T>*/(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 9831051..7d39a79 100644
--- a/packages/flutter/lib/src/material/shadows.dart
+++ b/packages/flutter/lib/src/material/shadows.dart
@@ -6,7 +6,7 @@
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 @@
/// See also:
///
/// * [Material]
-/// * <https://www.google.com/design/spec/what-is-material/elevation-shadows.html>
+/// * <https://material.google.com/what-is-material/elevation-shadows.html>
const Map<int, List<BoxShadow>> 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 7630c87..c271da3 100644
--- a/packages/flutter/lib/src/material/slider.dart
+++ b/packages/flutter/lib/src/material/slider.dart
@@ -38,7 +38,7 @@
/// * [CheckBox]
/// * [Radio]
/// * [Switch]
-/// * <https://www.google.com/design/spec/components/sliders.html>
+/// * <https://material.google.com/components/sliders.html>
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 ace25f9..72644d6 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.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 @@
/// See also:
///
/// * [SnackBar]
-/// * <https://www.google.com/design/spec/components/snackbars-toasts.html>
+/// * <https://material.google.com/components/snackbars-toasts.html>
class SnackBarAction extends StatefulWidget {
/// Creates an action for a [SnackBar].
///
@@ -99,7 +99,7 @@
///
/// * [Scaffold.of] and [ScaffoldState.showSnackBar]
/// * [SnackBarAction]
-/// * <https://www.google.com/design/spec/components/snackbars-toasts.html>
+/// * <https://material.google.com/components/snackbars-toasts.html>
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 29cafc2..cb89d1c 100644
--- a/packages/flutter/lib/src/material/switch.dart
+++ b/packages/flutter/lib/src/material/switch.dart
@@ -31,7 +31,7 @@
/// * [CheckBox]
/// * [Radio]
/// * [Slider]
-/// * <https://www.google.com/design/spec/components/selection-controls.html#selection-controls-switch>
+/// * <https://material.google.com/components/selection-controls.html#selection-controls-switch>
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 855aea5..5403726 100644
--- a/packages/flutter/lib/src/material/tabs.dart
+++ b/packages/flutter/lib/src/material/tabs.dart
@@ -23,7 +23,7 @@
typedef void _TabLayoutChanged(Size size, List<double> 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 @@
/// * [TabBarSelection]
/// * [TabBarView]
/// * [AppBar.tabBar]
-/// * <https://www.google.com/design/spec/components/tabs.html>
+/// * <https://material.google.com/components/tabs.html>
class TabBar<T> extends Scrollable implements AppBarBottomWidget {
/// Creates a widget that displays a horizontal row of tabs, one per label.
///
@@ -1075,7 +1075,7 @@
///
/// * [TabBarSelection]
/// * [TabBar]
-/// * <https://www.google.com/design/spec/components/tabs.html>
+/// * <https://material.google.com/components/tabs.html>
class TabBarView<T> 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 5c48e6a..2b48230 100644
--- a/packages/flutter/lib/src/material/theme_data.dart
+++ b/packages/flutter/lib/src/material/theme_data.dart
@@ -64,7 +64,7 @@
/// ([accentColorBrightness]), so that the right contrasting text
/// color will be used over the accent color.
///
- /// See <https://www.google.com/design/spec/style/color.html> for
+ /// See <https://material.google.com/style/color.html> 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 21c3795..75b20fb 100644
--- a/packages/flutter/lib/src/material/time_picker.dart
+++ b/packages/flutter/lib/src/material/time_picker.dart
@@ -726,7 +726,7 @@
/// See also:
///
/// * [showDatePicker]
-/// * <https://www.google.com/design/spec/components/pickers.html#pickers-time-pickers>
+/// * <https://material.google.com/components/pickers.html#pickers-time-pickers>
Future<TimeOfDay> showTimePicker({
BuildContext context,
TimeOfDay initialTime
diff --git a/packages/flutter/lib/src/material/tooltip.dart b/packages/flutter/lib/src/material/tooltip.dart
index 692464e..2b70dd1 100644
--- a/packages/flutter/lib/src/material/tooltip.dart
+++ b/packages/flutter/lib/src/material/tooltip.dart
@@ -32,7 +32,7 @@
///
/// See also:
///
-/// * <https://www.google.com/design/spec/components/tooltips.html>
+/// * <https://material.google.com/components/tooltips.html>
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 46dfe98..88e662d 100644
--- a/packages/flutter/lib/src/material/typography.dart
+++ b/packages/flutter/lib/src/material/typography.dart
@@ -25,7 +25,7 @@
/// * [Typography]
/// * [Theme]
/// * [ThemeData]
-/// * <http://www.google.com/design/spec/style/typography.html>
+/// * <http://material.google.com/style/typography.html>
class TextTheme {
/// Create a text theme that uses the given values.
///
@@ -267,7 +267,7 @@
///
/// * [Theme]
/// * [ThemeData]
-/// * <http://www.google.com/design/spec/style/typography.html>
+/// * <http://material.google.com/style/typography.html>
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 7b970be..8c6af72 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 @@
///
/// * [Drawer]
/// * [DrawerHeader], for a drawer header that doesn't show user acounts
-/// * <https://www.google.com/design/spec/patterns/navigation-drawer.html>
+/// * <https://material.google.com/patterns/navigation-drawer.html>
class UserAccountsDrawerHeader extends StatefulWidget {
/// Creates a material design drawer header.
///