audio_effect 1.0.2+6 copy "audio_effect: ^1.0.2+6" to clipboard
audio_effect: ^1.0.2+6 copied to clipboard

A new Flutter project.

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 #

  • Add Wave Effect Around Circle.

  • Add more Effects to the package.

3
likes
80
pub points
12%
popularity

Publisher

unverified uploader

A new Flutter project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

audioplayers, cupertino_icons, flutter, on_audio_query

More

Packages that depend on audio_effect