Is your feature request related to a problem? Please describe.
Currently you have to pass down the RubberAnimationController in order to show/control the BottomSheet from widgets down the tree.
Describe the solution you'd like
Like Scaffold.of(context).showModalBottomSheet it would be nice to have RubberBottomSheet.of(context), or something similar, in order to access the RubberAnimationController.
Describe alternatives you've considered
Like described, the alternative is to pass down the RubberAnimationController which isn't elegant.
Is your feature request related to a problem? Please describe. Currently you have to pass down the
RubberAnimationController
in order to show/control the BottomSheet from widgets down the tree.Describe the solution you'd like Like
Scaffold.of(context).showModalBottomSheet
it would be nice to haveRubberBottomSheet.of(context)
, or something similar, in order to access theRubberAnimationController
.Describe alternatives you've considered Like described, the alternative is to pass down the
RubberAnimationController
which isn't elegant.