getIndicatorWidth method
Implementation
double getIndicatorWidth() {
if (_sliverListController == null || moveIndex == null) {
return 0;
}
final itemSize = _sliverListController?.getItemLength(moveIndex!) ?? 0;
var indicatorWidth = itemSize;
if (_indicatorMode != AntdIndicatorMode.full) {
indicatorWidth = (_fixedWidth ?? (itemSize / 4));
}
return indicatorWidth;
}