Skip to content

Expose scroll position and layout measurements on CategoryOverflowCalendarDayView#1

Merged
maksym-tielnyi-solid merged 4 commits into
mainfrom
scroll_controller_parameters
Jul 1, 2026
Merged

Expose scroll position and layout measurements on CategoryOverflowCalendarDayView#1
maksym-tielnyi-solid merged 4 commits into
mainfrom
scroll_controller_parameters

Conversation

@maksym-tielnyi-solid

@maksym-tielnyi-solid maksym-tielnyi-solid commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR exposes some internals of the CategoryOverflowCalendarDayView widget, allowing users to build layouts that depend on its current measurements and scroll positions. For example, this can be helpful to build custom overlays and out-of-view indicators.

  • Added the onLayoutMetrics callback parameter to the CategoryOverflowCalendarDayView constructor, reporting the body content size and the body viewport measurements of the calendar view after each layout pass.
  • Added the horizontalScrollControllerGroup and verticalScrollControllerGroup parameters to the CategoryOverflowCalendarDayView constructor, letting users read, observe, and drive the view's scroll position.
  • Re-exported LinkedScrollControllerGroup from the package so these parameters can be used without a direct dependency on linked_scroll_controller.
  • Disposed of the internally-created scroll controllers inside _CategoryOverflowCalendarDayViewState.

…d onLayoutMetrics parameters to CategoryOverflowCalendarDayView
@maksym-tielnyi-solid maksym-tielnyi-solid self-assigned this Jun 26, 2026
@maksym-tielnyi-solid maksym-tielnyi-solid changed the title Add horizontalScrollControllerGroup, verticalScrollControllerGroup an… Expose scroll position and layout measurements on CategoryOverflowCalendarDayView Jun 30, 2026
@maksym-tielnyi-solid maksym-tielnyi-solid merged commit 603ee04 into main Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants