touch_targets 0.3.1 copy "touch_targets: ^0.3.1" to clipboard
touch_targets: ^0.3.1 copied to clipboard

Create overflowing touch targets to make accessible design-sized components.

0.3.1 #

  • Added operator== and hashCode overrides to the TouchClient implementation of SizedTouchTarget and PaddedTouchTarget.

0.3.0 #

  • Performed element renames:

    • TouchClient.childSizeTouchClient.innerSize;
    • TouchClient.hitTestFrom()TouchClient.hitTestInnerFrom();
    • TouchTargetBehaviorTouchTargetFit (behaviorfit).
  • Refactored RenderTouchTargetMixin into three mixins: base TouchClientRenderObjectBaseMixin, optional TouchClientRenderObjectOptionalMixin and required TouchClientRenderObjectRequiredMixin.

  • Added documentation comments to some elements.

  • Minor internal changes.

0.2.1 #

  • Updated example app.

  • Made internal changes to pass static analysis.

0.2.0 #

  • Fixed unrelated elements losing their hit tests to touch targets. TouchGroup now performs a dry hit test to determine whether the topmost hit object is lineally related to the touch target (ancestor or descendant).

  • Added bool TouchClient.isRelatedTo(RenderObject hit) to check whether the RenderObject which gets hit shares lineage with the touch target.

  • Removed unnecessary markNeedsPaint() calls in TouchGroup's render object.

  • Minor internal changes.

0.1.0 #

  • Initial version.
0
likes
160
points
14
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Create overflowing touch targets to make accessible design-sized components.

Homepage
Repository (GitHub)
View/report issues

Topics

#accessibility #touch #hittest

License

MIT (license)

Dependencies

flutter

More

Packages that depend on touch_targets