This PR exposes a DraggableScrollableController from FeedbackController.
This was a PR I intended to do a long time ago, but it was blocking on a PR landing in flutter/flutter and that took so long that I forgot to get back to this ):
I have a handful of TODOs in other places that this PR unblocks, but I figured I'd do those in a follow up PR as they're much fussier and harder to land.
:bulb: Motivation and Context
This PR allows users of BetterFeedback to listen to the state of the feedback sheet and manually manipulate it. This is useful for things like:
Manipulating the sheet from within your custom sheet content
Driving animations from within your sheet
:green_heart: How did you test it?
:pencil: Checklist
[x] I reviewed submitted code
[ ] I added tests to verify changes
[x] I updated the docs if needed
[x] All tests passing
[x] No breaking changes
:crystal_ball: Next steps
Remove the public drag handle widget and automatically embed it in the user's sheet gated behind a bool in the feedback theme
Replace sheetProgress in the places where it is used with a direct reference to the sheet controller
(blocking on a PR to add double get progress to flutter/flutter https://github.com/flutter/flutter/pull/135366)
:scroll: Description
This PR exposes a
DraggableScrollableController
fromFeedbackController
. This was a PR I intended to do a long time ago, but it was blocking on a PR landing influtter/flutter
and that took so long that I forgot to get back to this ):I have a handful of TODOs in other places that this PR unblocks, but I figured I'd do those in a follow up PR as they're much fussier and harder to land.
:bulb: Motivation and Context
This PR allows users of
BetterFeedback
to listen to the state of the feedback sheet and manually manipulate it. This is useful for things like::green_heart: How did you test it?
:pencil: Checklist
:crystal_ball: Next steps
sheetProgress
in the places where it is used with a direct reference to the sheet controller (blocking on a PR to adddouble get progress
to flutter/flutter https://github.com/flutter/flutter/pull/135366)