currentChar property

int get currentChar

Implementation

int get currentChar => _boxConfig.timePerChar == 0.0
    ? _actualTextLength
    : math.min(_lifeTime ~/ _boxConfig.timePerChar, _actualTextLength);