FLUTTER ECOSYSTEM

alanchan-dev/Breathing-Collection

alanchan-dev/Breathing-Collection open-source repository details.

호흡-컬렉션 프로젝트 이미지
Stars
6
Forks
3
최근 푸시(UTC)
2023. 8. 29.
프로젝트 상태
활성
Alan Chan GitHub avatar
GITHUB User

Alan Chan ↗

언어Dart

사용 중인 의존성

의존성 목록 5 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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: ^1.0.0+3

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