segmentIndex property

int? get segmentIndex

Specifies the hovered segment index to render the marker pointer on that particulat segment in case of Solid bar legend type.

Implementation

int? get segmentIndex => _segmentIndex;
set segmentIndex (int? value)

Implementation

set segmentIndex(int? value) {
  if (_segmentIndex == value) {
    return;
  }
  previousSegmentIndex = _segmentIndex;
  _segmentIndex = value;
}