hit 0.3.0
hit: ^0.3.0 copied to clipboard
Decouple Flutter layout size from hit-test size, and deliver taps outside parent bounds.
0.3.0 #
- Narrow the supported public API:
package:hit/hit.dartexports widgets and the registry protocol (Hit,HitLayer,HitScope,HitScopeState,HitLink,HitDeferRegistration). Render objects are no longer exported. HitScope.ofnow throws aFlutterErrorwhen no scope is found (was assert-only).- Document deferred
opaquesemantics: stops further deferred scanning and skips the scoped subtree; document intentional defaultbehaviordifferences (HitLayeropaque vsHit.defer/Hit.beforetranslucent). - Expand tests:
Hit.before, nested scopes, explicit outerHitLink, opaque subtree skip,HitScope.of/maybeOf,ClipRectcull,Transform. - Add GitHub Actions CI (
flutter analyze+flutter test). - Declare supported platforms in
pubspec.yaml.
0.2.0 #
- Fix
Hit.defer(paintOnTop: true)with scroll views: deferred paint uses a composited leader/follower so it tracks transforms without a fullHitScoperepaint. - Fix disposed-layer crash when reusing
paintOnTopfollower layers across frames (LayerHandle). - Expand example app with more demos (
Hit.before, resize, window edge, chip, list, slider) and Cupertino UI.
0.1.0 #
- Initial release:
HitLayer,HitScope,Hit.defer/Hit.before, andHitLink.