Flutter-AssetsAudioPlayer
Flutter-AssetsAudioPlayer copied to clipboard
Run Error
Flutter Version
My version : 2.5 Lib Version
My version :
Platform (Android / iOS / web) + version
Platform :
Describe the bug Error when running app A clear and concise description of what the bug is.
child: AnimatedScale(
^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_neumorphic-3.1.0/lib/src/widget/switch.dart:167:20: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'. child: AnimatedScale( Small code to reproduce
import 'package:assets_audio_player/assets_audio_player.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State {
final AssetsAudioPlayer _assetsAudioPlayer = AssetsAudioPlayer();
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: RaisedButton(
child: Text("open"),
onPressed: () {
//open code here
}
),
),
),
);
}
}
Got the same error