1. 18 Jul, 2017 1 commit
  2. 13 Jun, 2017 1 commit
  3. 28 Apr, 2017 1 commit
    • xster's avatar
      Create a text validator/formatter mechanism (#9535) · f65fea8e
      xster authored
      * 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
      f65fea8e
  4. 04 Apr, 2017 1 commit
    • Adam Barth's avatar
      Defer to TextField in TextFormField docs (#9144) · d88ff907
      Adam Barth authored
      TextFormField doesn't actually have many properties because it wraps a
      TextField. Rather than trying to document all the arguments in the
      constructor, we now refer to the docs for TextField, which explain the
      parameters in a more readable way.
      
      Fixes #7245
      d88ff907
  5. 02 Apr, 2017 1 commit
    • Adam Barth's avatar
      Rationalize text input widgets (#9119) · ae899486
      Adam Barth authored
      After this patch, there are three major text input widgets:
      
       * EditableText. This widget is a low-level editing control that
         interacts with the IME and displays a blinking cursor.
      
       * TextField. This widget is a Material Design text field, with all the
         bells and whistles. It is highly configurable and can be reduced down
         to a fairly simple control by setting its `decoration` property to
         null.
      
       * TextFormField. This widget is a FormField that wraps a TextField.
      
      This patch also replaces the InputValue data model for these widgets
      with a Listenable TextEditingController, which is much more flexible.
      
      Fixes #7031
      ae899486