Skip to content

Commit

Permalink
Merge pull request #349 from oriventi/master
Browse files Browse the repository at this point in the history
Introducing AnimatedTextController for animation control.
  • Loading branch information
queendevelopers authored Jan 4, 2025
2 parents 653da07 + 1d3b17c commit 24ab4d4
Show file tree
Hide file tree
Showing 10 changed files with 506 additions and 250 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ AnimatedTextKit(
speed: const Duration(milliseconds: 2000),
),
],
totalRepeatCount: 4,
pause: const Duration(milliseconds: 1000),
displayFullTextOnTap: true,
stopPauseOnTap: true,
controller: myAnimatedTextController
)
```

Expand All @@ -134,6 +135,7 @@ It has many configurable properties, including:
- `isRepeatingAnimation` – controls whether the animation repeats
- `repeatForever` – controls whether the animation repeats forever
- `totalRepeatCount` – number of times the animation should repeat (when `repeatForever` is `false`)
- `controller` - It allows for control over the animation by providing methods to play, pause and reset the text animations programmatically

There are also custom callbacks:

Expand Down
Loading

0 comments on commit 24ab4d4

Please sign in to comment.