Updated packages, rewrote player = gapless playback, faster loading
This commit is contained in:
parent
6f250df004
commit
d4299f736f
92 changed files with 10270 additions and 1450 deletions
21
just_audio/test/just_audio_test.dart
Normal file
21
just_audio/test/just_audio_test.dart
Normal file
|
@ -0,0 +1,21 @@
|
|||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:just_audio/just_audio.dart';
|
||||
|
||||
void main() {
|
||||
const MethodChannel channel = MethodChannel('just_audio');
|
||||
|
||||
setUp(() {
|
||||
channel.setMockMethodCallHandler((MethodCall methodCall) async {
|
||||
return '42';
|
||||
});
|
||||
});
|
||||
|
||||
tearDown(() {
|
||||
channel.setMockMethodCallHandler(null);
|
||||
});
|
||||
|
||||
// test('getPlatformVersion', () async {
|
||||
// expect(await AudioPlayer.platformVersion, '42');
|
||||
// });
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue