A Flutter project demonstrating basic animations using AnimatedContainer
and AnimatedOpacity
.
This application showcases:
- AnimatedContainer: Changes in size, color, and alignment with a smooth transition.
- AnimatedOpacity: Fades an element in and out.
Both animations are triggered by a floating action button.
Here's screenshots of the application:
Screenshot | Screenshot1 |
---|---|
![]() |
![]() |
To run this project, ensure you have Flutter installed. Then:
- Clone this repository:
git clone https://github.com/your-username/simple_animations.git cd simple_animations
- Get dependencies:
flutter pub get
- Run the application:
flutter run
lib/main.dart
: Contains the main application logic and UI, including the animation implementations.