cont_animtion 0.0.1 copy "cont_animtion: ^0.0.1" to clipboard
cont_animtion: ^0.0.1 copied to clipboard

A Flutter package that provides an animated container widget for smooth color transitions and dynamic UI effects.

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

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
          ),
        ),
      ),
    );
  }
}

Features #

  • Animated Color Transitions: The container smoothly transitions between colors.
  • Customization: Customize the initial color, width, height, and animation duration.
1
likes
0
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides an animated container widget for smooth color transitions and dynamic UI effects.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on cont_animtion