setMiddleIndex method Null safety

  1. @override
void setMiddleIndex(
  1. int index
)
override

Implementation

@override
void setMiddleIndex(int index) {
  _currentMiddleIndex = index;
}