- Fix a bug for updates to render objects that have not been laid out yet.
- Correct Flutter SDK version dependency to 3.1.0.
- Replace use of deprecated APIs in the example for compatibility with Flutter v3.1.0.
- Refactor to avoid forcing composition in the layer/render trees.
- Remove
VisibilityDetectorLayer
. - Add
RenderVisibilityDetectorBase
as a mixin that mostly takes over functionality from the old layer. - Remove the lookup map/method for getting former screen rects and instead add
the rect to
VisibilityInfo
.
- Re-apply Flutter framework bindings' null safety calls but set SDK constraints correctly to 2.12.0 instead.
- Reverts change from 0.3.0 where the Flutter version constraint should have been set to 2.12.0 instead of 2.10.5.
- Populate the pubspec
repository
field.
- Move to Flutter version 2.10.5 and update dependencies' null safety calls.
- Minor internal changes to maintain forward-compatibility with flutter#91753.
- Bug fix for using VisibilityDetector with FittedBox and Transform.scale issue #285.
- Added
SliverVisibilityDetector
to report visibility ofRenderSliver
-based widgets. Fixes issue #174.
- Revert change to add
VisibilityDetectorController.scheduleNotification
, which introduced unexpected memory usage.
-
Update to null safety.
-
Try to fix the link to the example on pub.dev.
-
Revert tests to again use
RenderView
instead ofTestWindow
. -
Add
VisibilityDetectorController.scheduleNotification
to force firing a visibility callback.
-
Compatibility fixes to
demo.dart
for Flutter 1.13.8. -
Moved
demo.dart
to anexamples/
directory, renamed it, and added instructions toREADME.md
. -
Adjusted tests to use
TestWindow
instead ofRenderView
. -
Added a "Known limitations" section to
README.md
.
-
Style and comment adjustments.
-
Fix a potential infinite loop in the demo app and add tests for it.
-
Fixed positioning of text selection handles for
EditableText
-based widgets (e.g.TextField
,CupertinoTextField
) when used within aVisibilityDetector
. -
Added
VisibilityDetectorController.widgetBoundsFor
.
- Compatibility fixes for Flutter 1.3.0.
- Added
VisibilityDetectorController.forget
.