sounds 1.0.0-beta.12 copy "sounds: ^1.0.0-beta.12" to clipboard
sounds: ^1.0.0-beta.12 copied to clipboard

discontinued
outdated

Sounds provide a complete api and Widgets for audio playback and recording. Both iOS and Android are supported.

example/lib/main.dart

/*
 * This file is part of Sounds .
 *
 *   Sounds  is free software: you can redistribute it and/or modify
 *   it under the terms of the Lesser GNU General Public License
 *   version 3 (LGPL3) as published by the Free Software Foundation.
 *
 *   Sounds  is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the Lesser GNU General Public License
 *   along with Sounds .  If not, see <https://www.gnu.org/licenses/>.
 */

import 'package:flutter/material.dart';
import 'package:sounds_common/sounds_common.dart';

import 'demo_util/demo_body.dart';
import 'package:logger/logger.dart';

/// demonstrates the recording widget linked to a playback widget.
void main() {
  runApp(MyApp());
  ///Set logging level
  Log.loggingLevel = Level.warning;
}

/// Example app.
class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Sounds'),
        ),
        body: MainBody(),
      ),
    );
  }

  @override
  void dispose() {
    super.dispose();
  }
}
64
likes
0
pub points
32%
popularity

Publisher

verified publisheronepub.dev

Sounds provide a complete api and Widgets for audio playback and recording. Both iOS and Android are supported.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

device_info, flutter, flutter_spinkit, meta, path, path_provider, provider, sounds_common, uuid

More

Packages that depend on sounds