Skip to content

Combine date and time picker demos - #6933

Merged
HansMuller merged 4 commits into
flutter:masterfrom
HansMuller:combine_date_and_time_picker_demos
Nov 21, 2016
Merged

HansMuller merged 4 commits into
flutter:masterfrom
HansMuller:combine_date_and_time_picker_demos

Conversation

@HansMuller

@HansMuller HansMuller commented Nov 18, 2016 •

Copy link
Copy Markdown
Contributor

The new demo also demonstrates how to create a form whose elements are all labeled and hinted like Input widgets.

  • In the new example the first two rows are ordinary Input widgets.
  • The next two rows are built with InputContainers that host what appear to be dropdowns but are in fact buttons. Tapping on the buttons pops up the date or time pickers.
  • The last row is an InputContainer that hosts a Dropdown button.

Fixes #6604

flutter_01

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline before }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like you missed time_picker_demo.dart

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I did, good catch!

@Hixie

Hixie commented Nov 19, 2016

Copy link
Copy Markdown
Contributor

What do you think of merging this and the other text input demo as well?

Also, what do you think of exposing the widgets you made here as actual widgets in the material layer?

LGTM.

@HansMuller
HansMuller force-pushed the combine_date_and_time_picker_demos branch from 621c524 to 92446bd Compare November 21, 2016 19:36
@HansMuller

Copy link
Copy Markdown
Contributor Author

I think you're right about providing InputDropdown and/or DateTimePicker as canned material widgets. Before doing that I want to resolve a few more of the outstanding dropdown issues.

@HansMuller
HansMuller merged commit 39872e7 into flutter:master Nov 21, 2016
@HansMuller
HansMuller deleted the combine_date_and_time_picker_demos branch November 21, 2016 19:49
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardize labelling among input widgets

2 participants