v1.0.5wave_blob
该包提供一种可自定义的波纹动画。您可以使用语音的振幅来播放音频。
74喜欢 1260近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
hosein-nadali/flutter-wave-blob open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
This package provide a blob wave animation that can be customized to your needs. You can playing audio using amplitude of voice.
pubspec.yamldependencies:
wave_blob: <latest-version>
flutter pub get
import 'package:wave_blob/wave_blob.dart';
SizedBox(
width: MediaQuery.sizeOf(context).width * 0.4,
height: MediaQuery.sizeOf(context).width * 0.4,
child: WaveBlob(
child: const Icon(
Icons.mic,
color: Colors.white,
size: 50.0,
),
),
),
Don't forget set Width and Height of widget.
Check example app for more info.
You can customize blob easily. You can change blob color, animation speed, min and max radius and etc.
Example:

依赖清单 4 项
{"sdk":"flutter"}^2.1.4{"sdk":"flutter"}^2.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗