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