1. 30 Sep, 2019 1 commit
  2. 28 Sep, 2019 1 commit
  3. 24 Sep, 2019 1 commit
  4. 18 Sep, 2019 2 commits
  5. 17 Sep, 2019 3 commits
  6. 03 Sep, 2019 1 commit
    • Greg Spencer's avatar
      Make disabled buttons/chips/text fields not be focusable. (#38726) · 8daa165d
      Greg Spencer authored
      This changes the behavior of text fields, Material buttons, and Chips so that if they are disabled they lose focus. Before this change, it was possible to disable a control and then use focus traversal to reach it anyhow, and in the case of text fields, enter text into a disabled field.
      
      Fixes #33985
      8daa165d
  7. 09 Aug, 2019 2 commits
  8. 01 Aug, 2019 2 commits
  9. 31 Jul, 2019 1 commit
  10. 30 Jul, 2019 1 commit
  11. 27 Jul, 2019 1 commit
  12. 26 Jul, 2019 1 commit
  13. 22 Jul, 2019 1 commit
  14. 19 Jul, 2019 1 commit
  15. 12 Jul, 2019 1 commit
  16. 11 Jul, 2019 1 commit
    • Greg Spencer's avatar
      Add example showing how to move from one field to the next. (#35926) · e8fbdd85
      Greg Spencer authored
      This adds an example of how to move to the "next" field when using TextInputAction.next. This is all that is needed to have "next field" functionality in a field. I thought about making it the default when handling the "next" or "previous" actions, but it's better that the developer has control over whether or not they actually move to the next field, and within which scope.
      e8fbdd85
  17. 10 Jul, 2019 1 commit
  18. 25 Jun, 2019 1 commit
  19. 19 Jun, 2019 1 commit
  20. 13 Jun, 2019 1 commit
  21. 10 Jun, 2019 1 commit
  22. 06 Jun, 2019 1 commit
  23. 04 Jun, 2019 1 commit
  24. 03 Jun, 2019 1 commit
  25. 21 May, 2019 1 commit
  26. 17 May, 2019 1 commit
    • Greg Spencer's avatar
      Text field focus and hover support. (#32776) · 9f21ae0d
      Greg Spencer authored
      This adds support for an animated focusColor and hoverColor to InputDecorator. This color will blend with the background over a fade in period whenever the InputDecorator is focused or hovered, respectively.
      
      It also adds a Listener to the TextField to listen for hover events.
      9f21ae0d
  27. 16 May, 2019 1 commit
  28. 14 May, 2019 3 commits
  29. 22 Apr, 2019 1 commit
  30. 22 Mar, 2019 1 commit
  31. 15 Mar, 2019 1 commit
    • Justin McCandless's avatar
      Text field height attempt 2 (#29250) · 6d8f5399
      Justin McCandless authored
      Adds the `minLines` and `expands` parameters for controlling text height.  The original PR was reverted, so this one contains a few extra fixes for the tests that were broken.
      6d8f5399
  32. 09 Mar, 2019 1 commit
  33. 08 Mar, 2019 1 commit
    • Justin McCandless's avatar
      Fix TextField height issues (#27205) · 9e9f48da
      Justin McCandless authored
      * Create new TextField attribute to control maxLength behaviour
      
      * Create test case for maxLinesIncrementalHeight
      
      * fix maxLinesIncrementalHeight set method
      
      * fix editable_test.dart
      
      * Just introducing some proposed API additions, renaming to expands
      
      * Pass minLines and expands through to child widgets and validate
      
      * minLines can't be null, and expands can't be true when maxLines is 1
      
      * Implement minLines and maxLines height sizing logic
      
      * Simplify minLines validation logic
      
      * expands parameter proof of concept
      
      * min/max mixup bug fix, and tests work with expands false
      
      * Test expands=true cases, and fix textPainter.height being out of date
      
      * Test all behavior matrix cases
      
      * min/max assertion more strict, can't be equal
      
      * Tests work that were missing expands serialization
      
      * Action sheet tests no longer fail due to rounding error
      
      * TextFieldFocus test no longer mysteriously fails
      
      * TODOs for making expands nullable. Will depend on how Expanded wrapping works
      
      * Expanded growth happens when expanded is true and maxLines is null
      
      * Test Expanded wrapper
      
      * No more overflow when wrapped in Expanded
      
      * Docs improvements
      
      * expands can be null
      
      * Simplify error cases to support existing behavior
      
      * Docs examples and other docs cleanup
      
      * Expansion up to perfectly meet the parent size
      
      * Fix analyze null error
      
      * Fix test after move to nullable expands
      
      * minLines defaults to null
      
      * expands is now exclusively for expanding to parent height and not growth between min and max
      
      * _layout rewritten to handle max height. Need to fix prefix tests and
      reenable expands
      
      * Tests for textfield overflowing parent
      
      * layoutLineBox is documented and private
      
      * expands works in new _layout
      
      * _layout return numbers seem to perfectly match original _layout
      
      * inputWidth comment after trying it out and failing tests
      
      * Fix analyze errors
      
      * WIP prefix/suffix do affect height
      
      * Prefix/suffix and icons affect height, tests pass, but I'm still visually verifying identical to original
      
      * Tall prefix test that verifies pixel perfect layout
      
      * Fix overflowing edge case and test it
      
      * Clean up comments, old code, and todos
      
      * Changing _expands causes relayout. Wasnt able to figure out how to test though...
      
      * Clean up code review comments
      
      * Fix misalignment when tall prefix and border, and clean up related test
      
      * Simple code review cleanup
      
      * Bring back inputWidth to _layout method
      
      * Fix rounding errors showing up in mac tests
      
      * Fix flake by reordering tests. Without this, the dreaded intrinsicwidth flake is reproducible 50% of the time on my machine.
      
      * Fix more rounding error mac tests
      9e9f48da