v1.0.5wave_blob
इस पैकेज में आपकी आवश्यकताओं के अनुसार कस्टमाइज़ किया जा सकने वाला ब्लॉब वेव एनिमेशन प्रदान करता है। आप आवाज़ के आयाम का उपयोग करके ऑडियो प्ले कर सकते हैं।
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