animated_features_kit 0.0.2
animated_features_kit: ^0.0.2 copied to clipboard
A lightweight Flutter package for animated UI features like expandable text, gradient text, and more.
🌀 animated_features_kit #
A lightweight Flutter package that brings simple yet beautiful animated UI features — like expandable text, gradient text, animated buttons, and reader-friendly view — all in one kit 💫
🧑💻 Developer 👤 Kaish Ansari
✨ Features #
✅ Expandable / Collapsible Text (Read more / Read less)
✅ Gradient Text (easy gradient color text)
✅ Animated Icon Button (scale effect on tap)
✅ Read Mode Wrapper (comfortable reading view)
✅ Animated Gradient Container (background animation)
📦 Installation #
Add this line to your pubspec.yaml file:
dependencies:
animated_features_kit: ^0.1.0
flutter pub get
🚀 Usage Example:-
import 'package:animated_features_kit/animated_features_kit.dart';
class DemoPage extends StatelessWidget {
const DemoPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text("Animated Features Kit Demo")),
body: Padding(
padding: const EdgeInsets.all(16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
GradientText(
"Welcome to Animated Features Kit",
colors: [Colors.purple, Colors.blue],
style: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
),
const SizedBox(height: 20),
ExpandableText(
text:
"This is an expandable text example. Tap 'Read more' to expand and see the full content with smooth animation.",
),
const SizedBox(height: 20),
AnimatedIconButton(
icon: Icons.favorite,
onPressed: () => debugPrint("Liked!"),
),
],
),
),
);
}
}