1. 10 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Visibility widget (#20365) · 21f22ed3
      Ian Hickson authored
      * Visibility widget
      
      This attempts to address the confusion around how to hide a widget subtree.
      
      * Apply review comments
      
      * More clarifications
      21f22ed3
  2. 09 Aug, 2018 1 commit
  3. 03 Aug, 2018 1 commit
    • liyuqian's avatar
      Add Clip enum to Material and related widgets (#18576) · 9ffa1c51
      liyuqian authored
      See details in our proposal for this breaking API change and #18057. This PR setup all code paths to allow the change but doesn't change the clip behavior by itself. We'll change `defaultClipBehavior` from `Clip.antiAlias` to `Clip.none` in the following PR to change the clip behavior and update tests.
      9ffa1c51
  4. 02 Aug, 2018 1 commit
  5. 25 Jul, 2018 1 commit
  6. 24 Jul, 2018 1 commit
    • Jonah Williams's avatar
      Semantics framework updates (#18758) · 810a29d6
      Jonah Williams authored
      Changes:
      
      - Move the SemanticsConfiguration update from RenderToggleable to each subclass, so that Switch can use toggled.
      - Add image, liveRegion, toggled properties to Semantics, SemanticsConfiguration, SemanticsNode
      - Added semanticsLabel and excludeFromSemantics to Image (the latter so that we avoid creating a semantics node)
      - Added onDismiss semantics action which maps to the modal escape on iOS and dismiss action on Android.
      - Added dismiss and liveRegion to snackbar widget
      - Updated custom painter semantics to handle image, liveRegion, toggle
      - Updated relevant tests to use correct flag/action
      810a29d6
  7. 23 Jul, 2018 1 commit
  8. 20 Jul, 2018 2 commits
  9. 19 Jun, 2018 1 commit
  10. 15 Jun, 2018 1 commit
  11. 14 Jun, 2018 1 commit
  12. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  13. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  14. 05 Jun, 2018 2 commits
  15. 01 Jun, 2018 1 commit
  16. 31 May, 2018 1 commit
  17. 30 May, 2018 3 commits
  18. 16 May, 2018 1 commit
    • Greg Spencer's avatar
      Add Spacer Widget (#16642) · f3874359
      Greg Spencer authored
      This adds a simple spacer widget first suggested by Scott Stoll (@ScottS2017) in the abandoned PR #15802
      
      This PR replaces that one, cleans it up, and adds a test.
      f3874359
  19. 10 May, 2018 1 commit
  20. 03 May, 2018 1 commit
  21. 26 Apr, 2018 2 commits
  22. 21 Apr, 2018 1 commit
  23. 20 Apr, 2018 1 commit
  24. 22 Mar, 2018 1 commit
  25. 20 Mar, 2018 2 commits
  26. 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
  27. 12 Mar, 2018 1 commit
  28. 11 Mar, 2018 1 commit
  29. 09 Mar, 2018 1 commit
  30. 10 Feb, 2018 1 commit
  31. 06 Feb, 2018 1 commit
    • Greg Spencer's avatar
      Adds the semantic node traversal API. (#14060) · 14309b93
      Greg Spencer authored
      This adds an API for defining the semantic node traversal order.
      
      It adds a sortOrder argument to the Semantics widget, which is a class that can define a list of sort keys to sort on. The keys are sorted globally so that an order that doesn't have to do with the current widget hierarchy may be defined.
      
      It also adds a shortcut sortKey argument to the Semantics widget that simply sets the sortOrder to just contain that key.
      
      The platform side (flutter/engine#4540) gets an additional member in the SemanticsData object that is an integer describing where in the overall order each semantics node belongs. There is an associated engine-side change that takes this integer and uses it to order widgets for the platform's accessibility services.
      14309b93
  32. 02 Feb, 2018 1 commit
  33. 31 Jan, 2018 1 commit
    • amirh's avatar
      Support arbitrary shaped Material. (#14367) · 0672055a
      amirh authored
      For backward compatibility we keep supporting specifying the shape as a
      combination of MaterialType and borderRadius, and we just use that as a
      default when shapeBorder is null.
      
      To cleanup the implementation if shapeBorder was not specified we just
      translate the specified shape to a shapeBorder internally.
      I benchmarked paint, layout and hit testing, with the specialized shape
      clippers vs. the equivalent path clippers and did not see any
      significant performance difference.
      
      For testing, I extended the clippers/physicalShape matchers to match either the
      specialized shape or the equivalent shape.
      0672055a
  34. 26 Jan, 2018 1 commit