FLUTTER ECOSYSTEM

hosein-nadali/flutter-wave-blob

hosein-nadali/flutter-wave-blob open-source repository details.

flutter-wave-blob 프로젝트 이미지
Stars
15
Forks
4
최근 푸시(UTC)
2024. 2. 22.
프로젝트 상태
활성
Hosein Nadalizadeh GitHub avatar
GITHUB User

Hosein Nadalizadeh ↗

Flutter Developper

Iran, Sari
언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개
  • flutter{"sdk":"flutter"}
  • vector_math^2.1.4
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^2.0.0

원본 README

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

README 펼치기 / 접기

Features

Blob Wave Animation

This package provide a blob wave animation that can be customized to your needs. You can playing audio using amplitude of voice.

Preview

https://github.com/hosein-nadali/flutter-wave-blob/blob/main/example-1.gif?raw=true

Getting started

Installing
  1. Add dependencies to pubspec.yaml
dependencies:
    wave_blob: <latest-version>
  1. Run pub get.
flutter pub get
  1. Import package
import 'package:wave_blob/wave_blob.dart';

Usage

Simple usage
  1. Wrap Widget with WaveBlob and assign needed parameter.
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.

Customization

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

Author