linked_layouts 0.5.0
linked_layouts: ^0.5.0 copied to clipboard
Create custom layout systems based on the multi-leader-multi-follower pattern.
0.5.0 #
- Fixed internal update order of
RenderObjectWithOptionalLayoutLinkMixin.layoutLink,RenderObjectWithRequiredLayoutLinkMixin.layoutLink,RenderSlottedLayoutLeader.slot. - Exposed public API
LeaderLayoutLinkHandleto enforce encapsulation ofdidLeaderDoPaintanddidLeaderDoLayoutofLayoutLink. Access to those methods is now provided viaLeaderLayoutLinkHandleinstance methods. - Exposed public API
FollowerLayoutLinkHandleto encapsulate follower redepthing logic. Added atryRedepthClientmethod. - Introduced a shared
RenderObjectWithLayoutLinkBaseMixininterface to makeRenderObjectWithRequiredLayoutLinkMixinindependant ofRenderObjectWithOptionalLayoutLinkMixin. - Declared
LayoutLinkHandlefinal, andLayoutLink-baseto prevent incorrect implementations. - Added more documentation comments.
- Improved internal file structure.
0.4.0+1 #
- Added a proper package description to
pubspec.yaml. - Added placeholder package example.
0.4.0 #
- Extracted client registration logic from
RenderLayout*MixinintoRenderObjectWith*LinkMixins. - Added
RenderObjectWithOptionalLayoutLinkMixinand renamedRenderObjectWithLayoutLinkMixintoRenderObjectWithRequiredLayoutLinkMixin. - Added optional named
schedulerBindingparameter toFrameCallbackSchedulerfor mocking purposes. - Organized source file structure.
0.3.0 #
- Fixed
RenderObjectmutation error when attempting to schedule layout run duringSchedulerPhase.persistentCallbacks. - Optimized leader transforms and size checking.
- Added more user-friendly error messages across the library.
- Added registered leaders validation to
LayoutLink. - Internal code cleanup and refactoring.
0.2.0 #
- Fixed leader size not persisting across reattachments.
- Introduced
RenderObjectWithLayoutLinkMixin.createLayoutClientInternalmethod to handle internal state. Implementers are expected to replacecreateLayoutClientwith the new method. - Refactored
LayoutLeaderintoAbstractLayoutLeaderand introducedSingleLayoutLeaderandCustomLayoutLeaderas replacements. - Renamed
LayoutLink.leaderOffsetIntoLayoutLink.getOffsetInand made the method static. - Fixed
LayoutLeaderClient.scalewasn't DPI-aware. Now it looks for the nearestRenderViewancestor. - Fixed
LayoutLinktransient frame callback was empty by mistake. - Removed unnecessary assertions in
LayoutLinkHandle.
0.1.0 #
- Initial version.