diff --git a/CHANGELOG.md b/CHANGELOG.md index 68ae81a..2d5de7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.1.0 +**Feature Enhancement** +* Added onTap callback for all AnimatedText widget. +* Updated Readme. + ## 1.0.3 * General update. diff --git a/README.md b/README.md index 58d7701..d10b3f0 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Add this to your package's `pubspec.yaml` file: ```yaml dependencies: - animated_text_kit: ^1.0.3 + animated_text_kit: ^1.1.0 ``` ### 2. Install it @@ -96,6 +96,9 @@ Row( ), SizedBox(width: 20.0, height: 100.0), RotateAnimatedTextKit( + onTap: () { + print("Tap Event"); + }, text: ["AWESOME", "OPTIMISTIC", "DIFFERENT"], textStyle: TextStyle(fontSize: 40.0, fontFamily: "Horizon"), ), @@ -112,6 +115,9 @@ Row( SizedBox( width: 250.0, child: FadeAnimatedTextKit( + onTap: () { + print("Tap Event"); + }, text: [ "do IT!", "do it RIGHT!!", @@ -133,6 +139,9 @@ SizedBox( SizedBox( width: 250.0, child: TyperAnimatedTextKit( + onTap: () { + print("Tap Event"); + }, text: [ "It is not enough to do your best,", "you must know what to do,", @@ -154,6 +163,9 @@ SizedBox( SizedBox( width: 250.0, child: TypewriterAnimatedTextKit( + onTap: () { + print("Tap Event"); + }, text: [ "Discipline is the best tool", "Design first, then code", @@ -176,6 +188,9 @@ SizedBox( SizedBox( width: 250.0, child: ScaleAnimatedTextKit( + onTap: () { + print("Tap Event"); + }, text: [ "Think", "Build", @@ -197,6 +212,9 @@ SizedBox( SizedBox( width: 250.0, child: ColorizeAnimatedTextKit( + onTap: () { + print("Tap Event"); + }, text: [ "Larry Page", "Bill Gates", diff --git a/example/pubspec.lock b/example/pubspec.lock index d108e82..dc1b5fc 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -14,7 +14,7 @@ packages: path: ".." relative: true source: path - version: "1.0.3" + version: "1.1.0" args: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 75b1878..033a956 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: animated_text_kit description: A flutter package project which contains a collection of cool and beautiful text animations. -version: 1.0.3 +version: 1.1.0 author: Ayush Agarwal homepage: https://github.com/aagarwal1012/Animated-Text-Kit/