on State Changed
Called when the bottom sheet changes its state.
Parameters
newState
The new state.
fromUser
true if the change event was triggered by a user, for example, by card swipe.
Called when the bottom sheet changes its state.
The new state.
true if the change event was triggered by a user, for example, by card swipe.