setPosition method

  1. @override
void setPosition(
  1. int position
)

Sets the current index position in the data source to the specified value.

@param originalIndex The index position to set.

Implementation

@override
setPosition(int position) => index = position;