innerInitialIndexPosition method

dynamic innerInitialIndexPosition()
inherited

Init index position for scrollView.

Implementation

innerInitialIndexPosition() {
  final model = initialIndexModelBlock?.call() ?? initialIndexModel;
  if (model.sliverContext == null && model.index <= 0) return;
  innerJumpTo(
    index: model.index,
    sliverContext: model.sliverContext,
    isFixedHeight: model.isFixedHeight,
    alignment: model.alignment,
    padding: model.padding,
    offset: model.offset,
  );
}