标签: flutter flutter-layout flutter-dependencies flutter-animation flutter-test
我想在按下按钮动作或称为的通知动作时发出自定义声音,以下是简单的凸起按钮代码
new RaisedButton( onPressed: () => print('pressed!'), // play custom sound here child: new Text('Play'), color: Colors.indigoAccent, ); }