flutter/examples/flutter_gallery/lib/demo/material
xster f65fea8e2e Create a text validator/formatter mechanism (#9535)
* Add a text formatter interface used by EditingText. Provide some default implementations.

* self nits

* Handle -1 selection offsets

* review notes

* simplify regular expression

* Add whitelisting formatters. Use a custom phone number formatter in text demo.

* review notes

* not being able to addAll(null) is pretty annoying

* review notes

* partial tests

* Add tests

* didn’t end up needing mockito

* move to services
2017-04-28 15:33:38 -07:00
..
bottom_navigation_demo.dart BoxDecoration API changes: backgroundColor -> color et al (#9648) 2017-04-27 14:19:01 -07:00
buttons_demo.dart More const immutable classes (#9544) 2017-04-23 22:37:29 +02:00
cards_demo.dart Constants! Constants everywhere! (#9286) 2017-04-07 12:24:32 -07:00
chip_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
data_table_demo.dart Constants! Constants everywhere! (#9286) 2017-04-07 12:24:32 -07:00
date_and_time_picker_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
dialog_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
drawer_demo.dart BoxDecoration API changes: backgroundColor -> color et al (#9648) 2017-04-27 14:19:01 -07:00
expansion_panels_demo.dart More const immutable classes (#9544) 2017-04-23 22:37:29 +02:00
full_screen_dialog_demo.dart Fix lints (#9307) 2017-04-10 02:09:51 -07:00
grid_list_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
icons_demo.dart Constants! Constants everywhere! (#9286) 2017-04-07 12:24:32 -07:00
leave_behind_demo.dart BoxDecoration API changes: backgroundColor -> color et al (#9648) 2017-04-27 14:19:01 -07:00
list_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
material.dart Rationalize text input widgets (#9119) 2017-04-01 17:30:21 -07:00
menu_demo.dart More const immutable classes (#9544) 2017-04-23 22:37:29 +02:00
modal_bottom_sheet_demo.dart Constants! Constants everywhere! (#9286) 2017-04-07 12:24:32 -07:00
overscroll_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
page_selector_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
persistent_bottom_sheet_demo.dart Constants! Constants everywhere! (#9286) 2017-04-07 12:24:32 -07:00
progress_indicator_demo.dart make some widgets const (#9477) 2017-04-20 08:59:05 +02:00
scrollable_tabs_demo.dart make some widgets const (#9477) 2017-04-20 08:59:05 +02:00
selection_controls_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
slider_demo.dart More const immutable classes (#9544) 2017-04-23 22:37:29 +02:00
snack_bar_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
tabs_demo.dart Add NestedScrollView (#9640) 2017-04-27 12:29:40 -07:00
tabs_fab_demo.dart Constants! Constants everywhere! (#9286) 2017-04-07 12:24:32 -07:00
text_form_field_demo.dart Create a text validator/formatter mechanism (#9535) 2017-04-28 15:33:38 -07:00
tooltip_demo.dart More const immutable classes (#9544) 2017-04-23 22:37:29 +02:00
two_level_list_demo.dart More const immutable classes (#9544) 2017-04-23 22:37:29 +02:00