hit 0.3.0 copy "hit: ^0.3.0" to clipboard
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.dart exports widgets and the registry protocol (Hit, HitLayer, HitScope, HitScopeState, HitLink, HitDeferRegistration). Render objects are no longer exported.
  • HitScope.of now throws a FlutterError when no scope is found (was assert-only).
  • Document deferred opaque semantics: stops further deferred scanning and skips the scoped subtree; document intentional default behavior differences (HitLayer opaque vs Hit.defer/Hit.before translucent).
  • Expand tests: Hit.before, nested scopes, explicit outer HitLink, opaque subtree skip, HitScope.of / maybeOf, ClipRect cull, 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 full HitScope repaint.
  • Fix disposed-layer crash when reusing paintOnTop follower 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, and HitLink.
51
likes
0
points
559
downloads

Publisher

verified publisherzennn.dev

Weekly Downloads

Decouple Flutter layout size from hit-test size, and deliver taps outside parent bounds.

Repository (GitHub)
View/report issues

Topics

#flutter #widget #gestures #hit-testing

License

unknown (license)

Dependencies

flutter

More

Packages that depend on hit