RenderLinearPointerBase constructor

RenderLinearPointerBase({
  1. required double value,
  2. ValueChanged<double>? onChanged,
  3. ValueChanged<double>? onChangeStart,
  4. ValueChanged<double>? onChangeEnd,
  5. required double offset,
  6. required LinearElementPosition position,
  7. required LinearMarkerAlignment markerAlignment,
  8. required bool isAxisInversed,
  9. required bool isMirrored,
  10. Animation<double>? pointerAnimation,
  11. VoidCallback? onAnimationCompleted,
  12. required LinearMarkerDragBehavior dragBehavior,
  13. AnimationController? animationController,
})

Creates a instance for RenderLinearPointerBase

Implementation

RenderLinearPointerBase(
    {required double value,
    ValueChanged<double>? onChanged,
    this.onChangeStart,
    this.onChangeEnd,
    required double offset,
    required LinearElementPosition position,
    required LinearMarkerAlignment markerAlignment,
    required bool isAxisInversed,
    required bool isMirrored,
    Animation<double>? pointerAnimation,
    VoidCallback? onAnimationCompleted,
    required LinearMarkerDragBehavior dragBehavior,
    this.animationController})
    : _value = value,
      _onChanged = onChanged,
      _offset = offset,
      _position = position,
      _dragBehavior = dragBehavior,
      _markerAlignment = markerAlignment,
      _pointerAnimation = pointerAnimation,
      _isAxisInversed = isAxisInversed,
      _isMirrored = isMirrored,
      _onAnimationCompleted = onAnimationCompleted;