Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

failed to open /proc/3726/stuck_info, No such file or directory I/OppoMediaPlayer( 3726): isPlaying() isOppoCreate=false #150

Open
sujay00005 opened this issue Mar 26, 2021 · 0 comments

Comments

@sujay00005
Copy link

sujay00005 commented Mar 26, 2021

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

void main() => runApp(XylophoneApp());

class XylophoneApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.black,
        body: SafeArea(
            child: Center(
          child: TextButton(
            child: Text('Click Meeee'),
            onPressed: () {
              AudioPlayer audioPlugin = AudioPlayer();
              audioPlugin.play('audio/note1.wav');
            },
          ),
        )),
      ),
    );
  }
}
name: xylophone
description: A new Flutter application.
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2
  audioplayer: ^0.8.1

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true

  assets:
  - audio/
![Screenshot (215)](https://user-images.githubusercontent.com/64656592/112670995-a41c9d80-8e87-11eb-815e-e2f69d11a2c6.png)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant