パッケージ、リポジトリ、アプリカテゴリを検索

siri_wave のカバー
パッケージ詳細v2.3.1

siri_wave

視覚的に印象的なSiri風の波形を作成できるFlutterパッケージです。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
5530
いいね数
160
Pub ポイント
150

パッケージをインストール

flutter pub add siri_wave

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Siri Wave は、開発者が視覚的に魅力的な Siri風のアニメーション波形を作成できるFlutterパッケージです。AppleのSiri音声アニメーションにインスパイアされ、リアルタイムで波形をレンダリングする滑らかでカスタマイズ可能なオーディオ可視化を複数のプラットフォームで提供します。さまざまな波形タイプ、色、アニメーションスピードをサポートしており、音声アシスタントや音楽アプリ、または動的なオーディオフィードバックが必要なあらゆるアプリに最適です。最小限のセットアップでFlutterプロジェクトにスムーズに統合でき、Android、iOS、Web、macOS、Windows、Linuxで動作します。

用途

  • 音声アシスタントインターフェース
  • ミュージックプレーヤーのビジュアライザー
  • リアルタイムオーディオフィードバック
  • インタラクティブなアプリのアニメーション
  • ライブ音声認識表示

主な機能

  • Siri風波形デザイン
  • カスタマイズ可能な波の色と形状
  • スムーズなリアルタイムアニメーション
  • クロスプラットフォーム互換性
  • Flutter とのシンプルな統合
  • 複数のオーディオソースのサポート

適している対象

  • モバイルアプリにおけるオーディオ可視化
  • 音声対応アプリケーション
  • デザイン重視のUIコンポーネント
  • アニメーション効果を求めるFlutter開発者
  • リアルタイム音声インジケーターを必要とするアプリ

注意事項

  • 高頻度の更新によりパフォーマンスが変動する可能性があります
  • 基本的な波の特性を超えるカスタマイズは限られている
  • シンプルでスムーズなアニメーションに最適
  • オーディオデータストリームの適切な処理が必要です
  • 複雑なオーディオ処理に最適化されていません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

ci Package: siri_wave Publisher: halildurmus.dev Language: Dart Platform: Flutter License: BSD-3-Clause

Create visually stunning waveforms similar to those found in Siri.

Inspired from the siriwave library.

Demo

Check out the live demo here.

iOS 7 Siri-style waveform GIF

iOS 7 Siri-style waveform

iOS 9 Siri-style waveform GIF

iOS 9 Siri-style waveform

Usage

iOS 7 Siri-style waveform

To create an iOS 7 Siri-style waveform, use the SiriWaveform.ios7() constructor:

import 'package:siri_wave/siri_wave.dart';

class MyWidget extends StatelessWidget {
  MyWidget({super.key});

  Widget build(BuildContext context) => SiriWaveform.ios7();
}

You can customize the waveform by passing a controller and/or options:

class MyWidget extends StatelessWidget {
  MyWidget({super.key});

  final controller = IOS7SiriWaveformController(
    amplitude: 0.5,
    color: Colors.red,
    frequency: 4,
    speed: 0.15,
  );

  @override
  Widget build(BuildContext context) => SiriWaveform.ios7(
        controller: controller,
        options: const IOS7SiriWaveformOptions(height: 200, width: 400),
      );
}

You can also change the properties of the waveform later:

  controller.amplitude = 0.3;
  controller.color = Colors.white;
iOS 9 Siri-style waveform

To create an iOS 9 Siri-style waveform, use the SiriWaveform.ios9() constructor:

import 'package:siri_wave/siri_wave.dart';

class MyWidget extends StatelessWidget {
  MyWidget({super.key});

  Widget build(BuildContext context) => SiriWaveform.ios9();
}

As with the iOS 7 Siri-style waveform, you can customize the waveform by passing a controller and/or options:

class MyWidget extends StatelessWidget {
  MyWidget({super.key});

  final controller = IOS9SiriWaveformController(
    amplitude: 0.5,
    color1: Colors.red,
    color2: Colors.green,
    color3: Colors.blue,
    speed: 0.15,
  );

  @override
  Widget build(BuildContext context) => SiriWaveform.ios9(
        controller: controller,
        options: const IOS9SiriWaveformOptions(height: 200, width: 400),
      );
}

For a complete sample application, please checkout the example.

To learn more, see the API Documentation.

🤝 Contributing

Contributions, issues and feature requests are welcome. Feel free to check the issue tracker if you want to contribute.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。