attach method

void attach(
  1. AnimationController animationController
)

Used internally to assign the AnimationController created by a BottomSheetBar to this controller. Unless you're using advanced animation techniques, you probably won't ever need to use this method.

Implementation

void attach(AnimationController animationController) {
  _animationController?.removeListener(_listener);
  _animationController = animationController;
  _animationController?.addListener(_listener);
}