diff --git a/packages/flutter/lib/src/material/date_picker.dart b/packages/flutter/lib/src/material/date_picker.dart index 7b3e51f001..12261cc4c9 100644 --- a/packages/flutter/lib/src/material/date_picker.dart +++ b/packages/flutter/lib/src/material/date_picker.dart @@ -29,9 +29,10 @@ import 'theme.dart'; /// Date picker UI mode for either showing a list of available years or a /// monthly calendar initially in the dialog shown by calling [showDatePicker]. /// -/// Also see: +/// See also: /// -/// * +/// * [showDatePicker], which shows a dialog that contains a material design +/// date picker. enum DatePickerMode { /// Show a date picker UI for choosing a month and day. day, @@ -232,8 +233,10 @@ const _DayPickerGridDelegate _kDayPickerGridDelegate = _DayPickerGridDelegate(); /// /// See also: /// -/// * [showDatePicker]. -/// * +/// * [showDatePicker], which shows a dialog that contains a material design +/// date picker. +/// * [showTimePicker], which shows a dialog that contains a material design +/// time picker. class DayPicker extends StatelessWidget { /// Creates a day picker. /// @@ -483,8 +486,10 @@ class DayPicker extends StatelessWidget { /// /// See also: /// -/// * [showDatePicker] -/// * +/// * [showDatePicker], which shows a dialog that contains a material design +/// date picker. +/// * [showTimePicker], which shows a dialog that contains a material design +/// time picker. class MonthPicker extends StatefulWidget { /// Creates a month picker. /// @@ -736,8 +741,10 @@ class _MonthPickerSortKey extends OrdinalSortKey { /// /// See also: /// -/// * [showDatePicker] -/// * +/// * [showDatePicker], which shows a dialog that contains a material design +/// date picker. +/// * [showTimePicker], which shows a dialog that contains a material design +/// time picker. class YearPicker extends StatefulWidget { /// Creates a year picker. /// @@ -1065,8 +1072,14 @@ typedef SelectableDayPredicate = bool Function(DateTime day); /// /// See also: /// -/// * [showTimePicker] -/// * +/// * [showTimePicker], which shows a dialog that contains a material design +/// time picker. +/// * [DayPicker], which displays the days of a given month and allows +/// choosing a day. +/// * [MonthPicker], which displays a scrollable list of months to allow +/// picking a month. +/// * [YearPicker], which displays a scrollable list of years to allow picking +/// a year. Future showDatePicker({ @required BuildContext context, @required DateTime initialDate, diff --git a/packages/flutter/lib/src/material/time_picker.dart b/packages/flutter/lib/src/material/time_picker.dart index a0a511b83b..650bed5019 100644 --- a/packages/flutter/lib/src/material/time_picker.dart +++ b/packages/flutter/lib/src/material/time_picker.dart @@ -1665,8 +1665,8 @@ class _TimePickerDialogState extends State<_TimePickerDialog> { /// /// See also: /// -/// * [showDatePicker] -/// * +/// * [showDatePicker], which shows a dialog that contains a material design +/// date picker. Future showTimePicker({ @required BuildContext context, @required TimeOfDay initialTime