follow_the_leader
Widgets that follow other widgets.
0.5.3
52K downloads/mo
#1448 most downloaded on pub.dev
Flutter-Bounty-Hunters/follow_the_leader
What this package is like to depend on
Last release 4 months ago
27 Mar 2026
Release timing varies
gaps range from 4 weeks to 1.2 years
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
17 releases · first in 2022
3 releases in the last 12 months
see the full history below
Release timeline
17 releases · Aug 2022 to Mar 2026Releases
latest 17-
0.5.327 Mar 2026 -
0.5.204 Nov 2025 -
0.5.108 Oct 2025 -
0.5.010 Jul 2025Release notes
Open source →July 10, 2025
This release is the same as
0.0.5- we're pushing up the version number to opt-in to0.semver Pub upgrade rules. This will hopefully avoid unexpected dependency upgrades for our users in the future. -
0.0.509 Jul 2025Release notes
Open source →July 9, 2025
FEATURE: Created
KeyboardFollowerBoundarybased on the height reported bysuper_keyboard. FEATURE: CreatedSafeAreaFollowerBoundarybased on the padding reported byMediaQuery. BREAKING:FollowerBoundaryandFollowerAlignercontracts have changed:FollowerBoundaryno longer does any positioning - it just returns a global rectangle.FollowerBoundarynow receives aBuildContextto help choose the boundary.FollowerAligners are now given the desiredglobalBoundsand they make the decision about where to align theFollowergiven those bounds.- If the aligner still tries to position the
Followeroutside theglobalBounds, then theFollowerinternally constrains itself to the nearest bounded offset.
- If the aligner still tries to position the
-
0.0.424 Jan 2023Release notes
Open source →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.
- Added
-
0.0.4+124 Jan 2023Release notes
Open source →Jan, 2023
Fix Leader offset reporting.
- Fix
getOffsetInLeaderfrom last release by correctly applyingLeaderscale.
- Fix
-
0.0.4+201 Feb 2023Release notes
Open source →Jan, 2023
LeaderandFollowerscaling.- Reworked
Followerimplementation to correctly handle scaling. Added bounds support for scaledLeaders andFollowers.
- Reworked
-
0.0.4+329 Jul 2023Release notes
Open source →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+427 Sep 2023Release notes
Open source →Sept, 2023
Adjusted
Followerinternal transform management to solve iOS toolbar arrow alignment issues on first frame, and when focal point moves. -
0.0.4+530 Sep 2023Release notes
Open source →Sept, 2023
More fixes for
Followercontent alignment, e.g., iOS popovers. This fix schedules an extra paint frame if it tries to paint aFollowerwhen theFollowerLayerisn't attached. -
0.0.4+624 Oct 2023 -
0.0.4+729 Nov 2023 -
0.0.4+803 May 2024Release notes
Open source →May, 2024
Hacked around a bug in tests related to render objects still being dirty after the test finishes.
-
0.0.313 Dec 2022Release notes
Open source →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.
- Breaking:
-
0.0.211 Dec 2022Release notes
Open source →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
- Primary widgets are now called
-
0.0.120 Aug 2022