Project | Description | Tech Stack | Source Code |
---|---|---|---|
E-Commerce App | A full-featured shopping app with Firebase backend. | Flutter, Firebase, Bloc | GitHub Repo |
Weather App | Real-time weather updates using OpenWeather API. | Flutter, REST API, Provider | GitHub Repo |
- State Management: Bloc, Provider, Riverpod
- Database: Firebase, Hive, SQLite
- Architecture: Clean Architecture, MVVM
- Tools: VS Code, Android Studio, Figma
// Flutter: Custom Animated Button
class AnimatedButton extends StatefulWidget {
@override
_AnimatedButtonState createState() => _AnimatedButtonState();
}
class _AnimatedButtonState extends State<AnimatedButton> with SingleTickerProviderStateMixin {
late AnimationController _controller;
@override
void initState() {
super.initState();
_controller = AnimationController(
vsync: this,
duration: Duration(milliseconds: 200),
);
}
@override
Widget build(BuildContext context) {
return GestureDetector(
onTapDown: (_) => _controller.forward(),
onTapUp: (_) => _controller.reverse(),
child: ScaleTransition(
scale: Tween(begin: 1.0, end: 0.9).animate(_controller),
child: Container(
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 12),
decoration: BoxDecoration(
color: Colors.blue,
borderRadius: BorderRadius.circular(8),
),
child: Text('Press Me', style: TextStyle(color: Colors.white)),
),
),
);
}
}