cont_animtion

Creator: coderz1093

Last updated:

0 purchases

cont_animtion Image
cont_animtion Images

Languages

Categories

Add to Cart

Description:

cont animtion

cont_animation #
A Flutter package that provides an animated container widget for easy color animation.
Getting Started #
To use this package, follow these steps:
1. Depend on it #
Add this to your package's pubspec.yaml file:
dependencies:
cont_animation: ^1.0.0
copied to clipboard
Here's an example: #
import 'package:flutter/material.dart';
import 'package:cont_animation/animated_container_widget.dart';

void main() {
runApp(MyApp());
}

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Animated Container Example'),
),
body: Center(
child: AnimatedContainerWidget(
color: Colors.red, // Initial color
width: 200,
height: 200,
duration: Duration(milliseconds: 1000), // Animation duration
),
),
),
);
}
}

copied to clipboard
Features #

Animated Color Transitions: The container smoothly transitions between colors.
Customization: Customize the initial color, width, height, and animation duration.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.