indicatorState property

IndicatorState? get indicatorState

Get indicator state;

Implementation

IndicatorState? get indicatorState {
  if (_axis == null || _axisDirection == null) {
    return null;
  }
  return IndicatorState(
    indicator: _indicator,
    userOffsetNotifier: userOffsetNotifier,
    notifier: this,
    mode: mode,
    result: _result,
    offset: offset,
    safeOffset: safeOffset,
    axis: _axis!,
    axisDirection: _axisDirection!,
    viewportDimension: viewportDimension,
    actualTriggerOffset: actualTriggerOffset,
  );
}