- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 24 Jul, 2018 1 commit
-
-
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
-
- 23 Apr, 2018 1 commit
-
-
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
-
- 19 Mar, 2018 1 commit
-
-
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
-
- 17 Jan, 2018 1 commit
-
-
Michael Goderbauer authored
* Identify CHeckBox and RadioButton as such * review feedback
-
- 09 Jan, 2018 2 commits
-
-
Michael Goderbauer authored
`RenderSemanticsGestureHandler` is no longer a semantics boundary, which allows us to correctly mark disabled buttons as disabled without having their semantics size and semantics node id change unexpectedly. Fixes https://github.com/flutter/flutter/issues/12589. Fixes https://github.com/flutter/flutter/issues/11991. See also https://github.com/flutter/flutter/issues/11993. This change also required some refactoring to how we deal with `twoPaneSemantics` scrolling as it previously relied on `RenderSemanticsGestureHandler` being a semantics boundary. This should also make the underlying logic easier to understand. In addition, the following minor changes are included in this PR: * Removal of orphaned and unused `SemanticsConfiguration.isMergingDescendantsIntoOneNode`. * Logic optimizations for `markNeedsSemanticsUpdate` . * Fix for edge case where `MergeSemantics` failed to merge semantics. * Use of emojis to better indicate leaf merging in the printed semantics tree. * Better assert message for adding invisible child semantics nodes. * Make some semantics tests robuster by not relying on creation order of SemanticsNode ids across test boundaries. Fixes https://github.com/flutter/flutter/issues/13943.
-
Michael Goderbauer authored
to align with `SemanticsAction` and other enum-like types.
-
- 05 Jan, 2018 1 commit
-
-
- 14 Dec, 2017 1 commit
-
-
Chris Bracken authored
Applies media padding (e.g. iOS safe area insets) around the list tile children inside the InkWell. Also adds safe area around gallery section titles for consistency with surrounding list tiles.
-
- 24 Oct, 2017 1 commit
-
-
Michael Goderbauer authored
* Without checking compatibility * ++ * ++ * ++ * more docs
-
- 18 Oct, 2017 1 commit
-
-
Michael Goderbauer authored
* Oct 12 10:12am * implicit_semantics_test.dart passes * refactoring * works in nice * minor rename * more doc comments * to be explicit check better * fix test * ++ * ++ * semantics_9_test (BlockSemantics) and implicit_semantics_test are passing * doc updates * tiny refactor * fix static errors in tests * fix gesture detector * ++ * ++ * geometry * ++ * remove noGeometry * revert test * + * all tests but scrolling/clipping pass * clipping works * scrolling halfway * sliver tests pass * ALL TESTS PASS * SemanticsNode changed * docs and tiny fixes * card test * more doc comments * remove missed print * more tests * make test pass on Linux * remove changes to intellij proj file * review comments
-
- 28 Aug, 2017 1 commit
-
-
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.
-
- 19 May, 2017 1 commit
-
-
Ian Hickson authored
-