Mention time picker theme in showTimePicker documentation (#63776)
This commit is contained in:
parent
96f3645037
commit
a609bb374c
@ -2069,6 +2069,10 @@ class _TimePickerDialogState extends State<_TimePickerDialog> {
|
|||||||
/// Optional strings for the [helpText], [cancelText], and [confirmText] can be
|
/// Optional strings for the [helpText], [cancelText], and [confirmText] can be
|
||||||
/// provided to override the default values.
|
/// provided to override the default values.
|
||||||
///
|
///
|
||||||
|
/// By default, the time picker gets its colors from the overall theme's
|
||||||
|
/// [ColorScheme]. The time picker can be further customized by providing a
|
||||||
|
/// [TimePickerThemeData] to the overall theme.
|
||||||
|
///
|
||||||
/// {@tool snippet}
|
/// {@tool snippet}
|
||||||
/// Show a dialog with the text direction overridden to be [TextDirection.rtl].
|
/// Show a dialog with the text direction overridden to be [TextDirection.rtl].
|
||||||
///
|
///
|
||||||
@ -2107,6 +2111,8 @@ class _TimePickerDialogState extends State<_TimePickerDialog> {
|
|||||||
///
|
///
|
||||||
/// * [showDatePicker], which shows a dialog that contains a material design
|
/// * [showDatePicker], which shows a dialog that contains a material design
|
||||||
/// date picker.
|
/// date picker.
|
||||||
|
/// * [TimePickerThemeData], which allows you to customize the colors,
|
||||||
|
/// typography, and shape of the time picker.
|
||||||
Future<TimeOfDay> showTimePicker({
|
Future<TimeOfDay> showTimePicker({
|
||||||
@required BuildContext context,
|
@required BuildContext context,
|
||||||
@required TimeOfDay initialTime,
|
@required TimeOfDay initialTime,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user