follow_the_leader 0.0.4+8
follow_the_leader: ^0.0.4+8 copied to clipboard
Widgets that follow other widgets.
0.0.4+8 May, 2024 #
Hacked around a bug in tests related to render objects still being dirty after the test finishes.
0.0.4+7 Nov, 2023 #
Added a FunctionalAligner for easier aligner implementations.
0.0.4+6 Oct, 2023 #
Fix dirty paint state for Followers in Linux golden tests.
0.0.4+5 Sept, 2023 #
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.
0.0.4+4 Sept, 2023 #
Adjusted Follower internal transform management to solve iOS toolbar arrow alignment issues on
first frame, and when focal point moves.
0.0.4+3 July, 2023 #
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
0.0.4+2 Jan, 2023 #
Leader and Follower scaling.
- Reworked
Followerimplementation to correctly handle scaling. Added bounds support for scaledLeaders andFollowers.
0.0.4+1 Jan, 2023 #
Fix Leader offset reporting.
- Fix
getOffsetInLeaderfrom last release by correctly applyingLeaderscale.
0.0.4 Jan, 2023 #
Scrollables and scaling.
- Added
recalculateGlobalOffsettoLeader, which should be used to notifyLeaders when an ancestorScrollablescrolls, so theLeadercan notifyFollowers that it moved. - Added
scaleandgetOffsetInLeadertoLeaderLinkbecause theLeader's scale was previously ignored.
0.0.3 Dec, 2023 #
Easier following.
- Breaking:
Follower.withDynamicsis nowFollower.withAligner. LeaderLinknow mixesChangeNotifierand notifies listeners when theLeadermoves or changes size.- Added
Followerproperty calledrepaintWhenLeaderChanges, which repaints theFollowerchild whenever theLeadermoves or changes size. - Added
FollowerFadeOutBeyondBoundarywidget, which will fade out its child when theLeaderexceeds a givenFollowerBoundary.
0.0.2 Dec, 2022 #
MVP release.
- Primary widgets are now called
LeaderandFollower - The widget link in this package is now called
LeaderLink Followersupports customized alignment and boundariesBuildInOrderlets you buildFollowers without an implied layout
0.0.1 Aug, 2022 #
Initial release.
- Not ready for any production use, yet.