Hacked around a bug in tests related to render objects still being dirty after the test finishes.
Added a FunctionalAligner
for easier aligner implementations.
Fix dirty paint state for Follower
s in Linux golden tests.
More fixes for Follower
content alignment, e.g., iOS popovers. This fix schedules an extra paint frame if it tries to paint a Follower
when the FollowerLayer
isn't attached.
Adjusted Follower
internal transform management to solve iOS toolbar arrow alignment issues on
first frame, and when focal point moves.
Fixes and adjustments.
- FIX: Follower no longer drifts when it hits a boundary
- CHANGE: Follower doesn't fade until the entire Leader leaves the boundary
- Supports Dart 3
Leader
and Follower
scaling.
- Reworked
Follower
implementation to correctly handle scaling. Added bounds support for scaledLeader
s andFollower
s.
Fix Leader offset reporting.
- Fix
getOffsetInLeader
from last release by correctly applyingLeader
scale.
Scrollables and scaling.
- Added
recalculateGlobalOffset
toLeader
, which should be used to notifyLeader
s when an ancestorScrollable
scrolls, so theLeader
can notifyFollower
s that it moved. - Added
scale
andgetOffsetInLeader
toLeaderLink
because theLeader
's scale was previously ignored.
Easier following.
- Breaking:
Follower.withDynamics
is nowFollower.withAligner
. LeaderLink
now mixesChangeNotifier
and notifies listeners when theLeader
moves or changes size.- Added
Follower
property calledrepaintWhenLeaderChanges
, which repaints theFollower
child whenever theLeader
moves or changes size. - Added
FollowerFadeOutBeyondBoundary
widget, which will fade out its child when theLeader
exceeds a givenFollowerBoundary
.
MVP release.
- Primary widgets are now called
Leader
andFollower
- The widget link in this package is now called
LeaderLink
Follower
supports customized alignment and boundariesBuildInOrder
lets you buildFollower
s without an implied layout
Initial release.
- Not ready for any production use, yet.