touch_targets 0.3.1
touch_targets: ^0.3.1 copied to clipboard
Create overflowing touch targets to make accessible design-sized components.
0.3.1 #
- Added
operator==andhashCodeoverrides to theTouchClientimplementation ofSizedTouchTargetandPaddedTouchTarget.
0.3.0 #
-
Performed element renames:
TouchClient.childSize→TouchClient.innerSize;TouchClient.hitTestFrom()→TouchClient.hitTestInnerFrom();TouchTargetBehavior→TouchTargetFit(behavior→fit).
-
Refactored
RenderTouchTargetMixininto three mixins: baseTouchClientRenderObjectBaseMixin, optionalTouchClientRenderObjectOptionalMixinand requiredTouchClientRenderObjectRequiredMixin. -
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.
TouchGroupnow 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 theRenderObjectwhich gets hit shares lineage with the touch target. -
Removed unnecessary
markNeedsPaint()calls inTouchGroup's render object. -
Minor internal changes.
0.1.0 #
- Initial version.