Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

feat: make SnappingSheetController listenable #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheOneWithTheBraid
Copy link

This allows to listen for position changes of the SnappingSheetController. Might be useful e.g. to transform or animcate the sheet's content based on the current position.

The Listenable overrides are forwarded to the ValueNotifier inside the _SnappingSheetState.

  • implement Listenable in SnappingSheetController
  • use ValueNotifier for current position

Signed-off-by: TheOneWithTheBraid [email protected]

@TheOneWithTheBraid
Copy link
Author

Do you have any pending review issues? Could you merge?

@TheOneWithTheBraid
Copy link
Author

I would appreciate if you could merge this. In case you are looking for maintainers for the project, please communicate this.

We'd otherwise publish a fork on pub.dev as we do not want to permanently rely on git imports.

- implement `Listenable` in SnappingSheetController
- use `ValueNotifier` for current position

Signed-off-by: TheOneWithTheBraid <[email protected]>
@TheOneWithTheBraid
Copy link
Author

@AdamJonsson Could you merge this? It is not such a big change. Otherwise, please tell me what to fix.

@TheOneWithTheBraid
Copy link
Author

@AdamJonsson Could you please merge this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant