breathing_collection 0.1.5 copy "breathing_collection: ^0.1.5" to clipboard
breathing_collection: ^0.1.5 copied to clipboard

outdated

A collection of Flutter widgets with breathing animation. More widgets will be added.

Breathing Collection #

A collection of Flutter widgets with breathing animation.

List of widgets #

Installing #

Add this to your package's pubspec.yaml file and run flutter pub get:

dependencies:
  breathing_collection: ^0.1.5

Now in your Dart code, you can use:

import 'package:breathing_collection/breathing_collection.dart';

Examples #

BreathingGlowingButton

Breathing Glowing Button

BreathingGlowingButton(
    height: 60.0,
    width: 60.0,
    buttonBackgroundColor = Color(0xFF373A49);
    glowColor = Color(0xFF777AF9);
    icon = Icons.mic;
    iconColor = Colors.white;
    onTap = () {
        // do something
    };
)

BreathingBackground

Breathing Background

BreathingBackground(
    initialMainColor = Color(0xFFDAD9E7),
    transformedMainColor = Color(0xFFB1B1BD),
    initialSecondaryColor = Color(0xFFB1B1BD),
    transformedSecondaryColor = Colors.white,
    begin = Alignment.topCenter,
    end = Alignment.bottomCenter,
    duration = Duration(seconds: 3),
)

Possible error #

If you ran into a problem with this widget, try setting sdk constraint to >=2.8.0 in your pubspec.yaml file.

environment:
  sdk: ">=2.8.0 <3.0.0"
69
likes
30
points
8
downloads

Publisher

verified publisheralanchan.dev

Weekly Downloads

A collection of Flutter widgets with breathing animation. More widgets will be added.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, simple_animations, supercharged

More

Packages that depend on breathing_collection