follow_the_leader 0.0.4 follow_the_leader: ^0.0.4 copied to clipboard
Widgets that follow other widgets.
0.0.4 #
Scrollables and scaling (January, 2022)
- 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.
0.0.3 #
Easier following (December, 2022)
- 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
.
0.0.2 #
MVP release (December, 2022)
- 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
0.0.1 #
Initial release (August, 2022)
- Not ready for any production use, yet.