alanchan-dev/Breathing-Collection
alanchan-dev/Breathing-Collection open-source repository details.
- Stars
- 6
- Forks
- 3
- 最終プッシュ(UTC)
- 2023/08/29
- プロジェクト状態
- 公開中
言語Dart
使用している依存関係
依存関係一覧 5 件
- flutter
{"sdk":"flutter"} - supercharged
^2.1.1 - simple_animations
^4.0.1 - flutter_test開発用
{"sdk":"flutter"} - flutter_lints開発用
^1.0.0
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
README を開く / 閉じる
Breathing Collection
A collection of Flutter widgets with breathing animation.
List of widgets
- BreathingGlowingButton
- BreathingBackground
- More coming
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),
)