1. 01 May, 2018 1 commit
  2. 23 Apr, 2018 1 commit
    • Yegor's avatar
      a11y traversal: sort locally; use new sorting algorithm (#16253) · d3540962
      Yegor authored
      New a11y traversal:
      
      - sort direct sibling SemanticsNodes only
      - use new sorting algorithm
      - implement RTL
      - test semantics in traversal order by default
      - add AppBar traversal test
      - breaking: remove nextNodeId/previousNodeId from the framework
      - breaking: remove DebugSemanticsDumpOrder.geometricOrder
      d3540962
  3. 02 Apr, 2018 1 commit
  4. 19 Mar, 2018 1 commit
    • Yegor's avatar
      a11y: remove SemanticsSortOrder; sort locally only; semanticsOwner post-test check (#15537) · 9c49255f
      Yegor authored
      * a11y: remove SemanticsSortOrder; sort locally only; semanticsOwner post-test check
      
      * update accessibility test framework
      
      - default nextNodeId/previousNodeId to -1
      - stop treating null as opt-out from value testing
      - add `id`, `TestSemantics.root`, and `tags` to the suggested code in the TestSemantics failure message
      - fix a small bug with raw string escaping
      - update all tests accordingly
      
      * fix sortKey doc
      
      * prefer const over final
      9c49255f
  5. 14 Mar, 2018 1 commit
  6. 26 Feb, 2018 2 commits
  7. 02 Feb, 2018 1 commit
  8. 01 Feb, 2018 1 commit
  9. 31 Jan, 2018 1 commit
  10. 26 Jan, 2018 1 commit
  11. 25 Jan, 2018 1 commit
  12. 23 Jan, 2018 1 commit
  13. 19 Jan, 2018 1 commit
  14. 09 Jan, 2018 1 commit
  15. 08 Jan, 2018 1 commit
  16. 14 Nov, 2017 1 commit
  17. 03 Nov, 2017 1 commit
  18. 02 Nov, 2017 2 commits
  19. 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
  20. 21 Oct, 2017 1 commit
    • Yegor's avatar
      Theme.of provides all TextStyle properties (#12552) · 67d16cd5
      Yegor authored
      * Theme provides all TextStyle properties
      
      * match field declaration order in the test
      
      * Theme.of returns text style with inherit == false
      
      * change TextStyle.inherit logic; docs
      
      * add TextStyle.debugLabel
      
      * address comments
      
      * add debug labels to Typography text styles
      67d16cd5
  21. 20 Oct, 2017 1 commit
  22. 24 Sep, 2017 1 commit
  23. 22 Sep, 2017 1 commit
  24. 20 Sep, 2017 1 commit
  25. 07 Sep, 2017 2 commits
  26. 30 Aug, 2017 1 commit
  27. 28 Aug, 2017 1 commit
    • Ian Hickson's avatar
      RTL: Padding, Flex (#11709) · f235a2c1
      Ian Hickson authored
      * Introduce a Directionality inherited widget which sets the ambient LTR vs RTL mode (defaulting to null, which means you cannot use directionality-influenced values).
      
      * Make it possible to configure Padding (including Container.padding and Container.margin) using a directionality-agnostic EdgeInsets variant.
      
      * Provide textDirection and verticalDirection controls on Row and Column to make them RTL-aware.
      
      * Introduce a variant of FractionalOffset based on the EdgeInsets variant. Not yet actually used.
      
      * Fix all the tests that depended on Row defaulting to LTR.
      f235a2c1
  28. 30 Jun, 2017 1 commit
  29. 23 Jun, 2017 2 commits
  30. 20 Jun, 2017 2 commits
  31. 19 Jun, 2017 1 commit
  32. 14 Jun, 2017 1 commit
  33. 13 Jun, 2017 1 commit
  34. 31 May, 2017 1 commit
  35. 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