-
@Stable() public final class BottomSheetNavigatorSheetStateThe state of a ModalBottomSheetLayout that the BottomSheetNavigator drives
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisVisibleprivate final ModalBottomSheetValuecurrentValueprivate final ModalBottomSheetValuetargetValueprivate final State<Float>offsetprivate final Floatdirectionprivate final SwipeProgress<ModalBottomSheetValue>progress
-
Constructor Summary
Constructors Constructor Description BottomSheetNavigatorSheetState(ModalBottomSheetState sheetState)
-
Method Summary
Modifier and Type Method Description final BooleangetIsVisible()final ModalBottomSheetValuegetCurrentValue()final ModalBottomSheetValuegetTargetValue()final State<Float>getOffset()final FloatgetDirection()final SwipeProgress<ModalBottomSheetValue>getProgress()-
-
Constructor Detail
-
BottomSheetNavigatorSheetState
BottomSheetNavigatorSheetState(ModalBottomSheetState sheetState)
- Parameters:
sheetState- The sheet state that is driven by the BottomSheetNavigator
-
-
Method Detail
-
getIsVisible
final Boolean getIsVisible()
-
getCurrentValue
final ModalBottomSheetValue getCurrentValue()
-
getTargetValue
final ModalBottomSheetValue getTargetValue()
-
getDirection
final Float getDirection()
-
getProgress
final SwipeProgress<ModalBottomSheetValue> getProgress()
-
-
-
-