From 0628c64b79bcc0ff863afe5b96ef7ee709620b77 Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Tue, 17 May 2016 15:36:59 -0400 Subject: [PATCH] Use KeyboardType.phone for the Gallery app's text demo. (#3983) BUG=https://github.com/flutter/flutter/issues/3970 --- examples/flutter_gallery/lib/demo/text_field_demo.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/flutter_gallery/lib/demo/text_field_demo.dart b/examples/flutter_gallery/lib/demo/text_field_demo.dart index ec991537fd..ae6f6d52ff 100644 --- a/examples/flutter_gallery/lib/demo/text_field_demo.dart +++ b/examples/flutter_gallery/lib/demo/text_field_demo.dart @@ -82,6 +82,7 @@ class TextFieldDemoState extends State { new Input( hintText: 'Where can we reach you?', labelText: 'Phone Number', + keyboardType: KeyboardType.phone, formField: new FormField( setter: (String val) { person.phoneNumber = val; }, validator: _validatePhoneNumber