getTotalDuration method

  1. @override
Duration getTotalDuration(
  1. int charCount
)
override

Returns the total duration needed to animate all charCount characters.

charCount — number of characters in the text.

Implementation

@override
Duration getTotalDuration(int charCount) {
  return duration;
}