AUDIO EFFECT

Audio Effecr package lets you add a beautiful Rotating Thumbnail Of Audio to your Flutter app.

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  audio_effects: ^1.0.0+1
  1. Import the package and use it in your Flutter App.
import 'package:audio_effect/audio_effects.dart';

Example

There are a number of properties that you can modify:

  • height
  • width
  • color
  • artworkBorder
  • artworkWidth
  • artworkHeight
  • Audio id
  • ArtWorkType

class AudioScreen extends StatelessWidget {
  const AudioScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: const AudioEffects(
          height: 200,
          width: 200,
          color: Colors.black,
          artworkWidth: 150,
          artworkHeight: 150,
          artworkBorder: BorderRadius.circular(radius),
          padding: EdgeInsects.all(size),
          isLocal: false,
          isPlaying: true,
          url: "Network URL Or File Path",
          type: ArtworkType.AUDIO,
          id: "Audio ID",
        ),
      ),
    );
  }
}

Next Goals

  • x Add Wave Effect Around Circle.

  • Add more Effects to the package.

Libraries

audio_effect