BottomBarController constructor
BottomBarController({
- required TickerProvider vsync,
- bool snap = true,
- double? dragLength,
Creates a BottomBarController with the given vsync
ticker provider
Implementation
BottomBarController({
required TickerProvider vsync,
this.snap: true,
double? dragLength,
}) : _animationController = AnimationController(vsync: vsync),
assert(dragLength == null || dragLength > 0),
dragLength = dragLength {
_animationController.addStatusListener(_statusListener);
}