attach method

  1. @override
void attach(
  1. AnimationController controller
)
override

Implementation

@override
void attach(AnimationController controller) {
  config(
    controller,
    _getValue() ?? 0,
    notifier: scrollController,
    listener: () {
      double? value = _getValue();
      if (value != null) updateValue(value);
    },
  );
}