init method

void init(
  1. double? itemHeight,
  2. int? floatActionButtonIndex
)
inherited

Implementation

void init(double? itemHeight, int? floatActionButtonIndex) {
  this.floatActionButtonIndex = floatActionButtonIndex;
  this.itemHeight = itemHeight;
  calculateIndex(0);
}