Skip to content

RubberBottomSheet.of()

Mattia Crovero edited this page Sep 15, 2019 · 1 revision

For every widget in the bottomsheet subtree is available the RubberBottomSheet.of() method that provides the current state Rubber.

For example, to access the animation controller you can call:

RubberBottomSheet.of(context).controller;
Clone this wiki locally