v1.0.5wave_blob
このパッケージは、ニーズに合わせてカスタマイズできるブロブ波アニメーションを提供します。声の振幅を使用してオーディオを再生できます。
74いいね 108030日間ダウンロード140Pub ポイント
AndroidiOSWebmacOSWindowsLinux
hosein-nadali/flutter-wave-blob open-source repository details.
{"sdk":"flutter"}^2.1.4{"sdk":"flutter"}^2.0.0以下は英語原文のスナップショットです。最新版は 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:
https://raw.githubusercontent.com/hosein-nadali/flutter-wave-blob/main/example-2.png https://raw.githubusercontent.com/hosein-nadali/flutter-wave-blob/main/example-3.png