如何解决错误 "have subtitle controller already set"?

how to solve error "have subtitle controller already set"?

当我尝试在 flutter 中播放声音文件时,它显示 "subtitle controller already set"。 这是我的代码:

import 'package:flutter/material.dart';
import 'package:audioplayers/audio_cache.dart';


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

class XylophoneApp extends StatelessWidget {

  final player = AudioCache();
  static AudioCache playr = AudioCache();


  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Center(
            child: FlatButton(onPressed: (){
              print('clicked');
              player.play('note2.wav');
            },color: Colors.blue,
              child: Text('click me'),
            ),
          ),
        ),
      ),
    );
  }
}

如何解决这个问题??

通过更新 flutter sdk 我解决了这个问题。