ToLaptop
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
import 'package:audioplayers/audioplayers.dart';
|
||||
|
||||
import 'package:bus_infotainment/audio_cache.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -38,8 +38,8 @@ class AudioCacheTest extends StatelessWidget {
|
||||
announcements.add(
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
AudioPlayer player = AudioPlayer();
|
||||
player.play(BytesSource(_announcementCache[key]));
|
||||
// AudioPlayer player = AudioPlayer();
|
||||
// player.play(BytesSource(_announcementCache[key]));
|
||||
},
|
||||
child: Text(
|
||||
key
|
||||
|
||||
Reference in New Issue
Block a user