Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
a609bb37
Unverified
Commit
a609bb37
authored
Aug 14, 2020
by
Rami
Committed by
GitHub
Aug 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention time picker theme in showTimePicker documentation (#63776)
parent
96f36450
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
time_picker.dart
packages/flutter/lib/src/material/time_picker.dart
+6
-0
No files found.
packages/flutter/lib/src/material/time_picker.dart
View file @
a609bb37
...
...
@@ -2069,6 +2069,10 @@ class _TimePickerDialogState extends State<_TimePickerDialog> {
/// Optional strings for the [helpText], [cancelText], and [confirmText] can be
/// 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}
/// 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
/// date picker.
/// * [TimePickerThemeData], which allows you to customize the colors,
/// typography, and shape of the time picker.
Future
<
TimeOfDay
>
showTimePicker
({
@required
BuildContext
context
,
@required
TimeOfDay
initialTime
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment