1. 02 Apr, 2018 1 commit
  2. 29 Mar, 2018 1 commit
  3. 28 Mar, 2018 1 commit
  4. 20 Mar, 2018 1 commit
  5. 19 Mar, 2018 1 commit
  6. 02 Feb, 2018 1 commit
  7. 20 Jan, 2018 1 commit
  8. 17 Jan, 2018 2 commits
  9. 13 Jan, 2018 1 commit
  10. 08 Jan, 2018 1 commit
  11. 08 Dec, 2017 2 commits
    • Yegor's avatar
      Make time picker accessible (#13152) · b80751cd
      Yegor authored
      * make time picker accessible
      
      * use new CustomPaint a11y API
      
      * flutter_localizations tests; use bigger distance delta
      
      * fix am/pm control; selected values
      
      * fix translations; remove @mustCallSuper in describeSemanticsConfiguration
      
      * exclude AM/PM announcement from iOS as on iOS the label is read back automatically
      b80751cd
    • Michael Goderbauer's avatar
      a11y cursor movement (#13405) · 52d06b82
      Michael Goderbauer authored
      52d06b82
  12. 06 Dec, 2017 1 commit
  13. 25 Nov, 2017 1 commit
  14. 09 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Add an UnconstrainedBox and factor out debug overflow indicator. (#12856) · 3541ad0a
      Greg Spencer authored
      UnconstrainedBox will allow its child to size itself as if it had no constraints, and then attempt to fit around that object, until its own constraints are exceeded, in which case it will clip and display an overflow warning.
      
      I also factored out DebugOverflowIndicator, which will draw overflow indicators on containers which overflow but aren't expected to.
      3541ad0a
  15. 24 Oct, 2017 1 commit
    • Greg Spencer's avatar
      Add Material character counter to TextField. (#12648) · ea679171
      Greg Spencer authored
      This adds an optional character counter and maxLength parameter to the TextField, as described in the Material Design Spec.
      
      The counter text and style in the input decorator may be specified, but will default to the "right thing" if not specified, where the "right thing" is a counter that looks like "3 / 10" (if there are three characters entered into a field where maxLength is set to 10).
      
      To limit the number of characters entered, I created a LengthLimitingTextFormatter that will limit the number of characters (Unicode runes) in the input, which can be used independently. The formatter is applied after the other formatters supplied (if any). Even if there is no decorator, the text field will limit the number of characters input if maxLength is set.
      
      If maxLengthEnforced is set to false (it defaults to true), then the max length will not be enforced. In that case, if the text exceeds the length, then the counter will turn red, and it will make the divider turn red.
      ea679171
  16. 27 Sep, 2017 1 commit
  17. 26 Sep, 2017 1 commit
  18. 20 Sep, 2017 1 commit
  19. 07 Sep, 2017 1 commit
  20. 03 Aug, 2017 1 commit
  21. 25 Jul, 2017 1 commit
  22. 21 Jul, 2017 1 commit
    • xster's avatar
      iOS text selection (#11224) · aa096b50
      xster authored
      Extract common text selection overlay logic from Material to Widget and create a Cupertino version of the overlays
      aa096b50
  23. 18 Jul, 2017 1 commit
  24. 23 Jun, 2017 1 commit
  25. 13 Jun, 2017 1 commit
  26. 03 May, 2017 1 commit
  27. 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
  28. 21 Apr, 2017 1 commit
  29. 17 Apr, 2017 1 commit
  30. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  31. 02 Apr, 2017 3 commits
    • Adam Barth's avatar
      Make it possible to center the text in a TextField (#9140) · 0b31c699
      Adam Barth authored
      Also, fix an issue where hint text wasn't visible when the
      InputDecoration was collapsed.
      
      Fixes #8541
      0b31c699
    • Adam Barth's avatar
      Remove old, draft dartdoc · 9946355e
      Adam Barth authored
      9946355e
    • 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