update dependencies
This commit is contained in:
parent
6aebc934ea
commit
a837b6ab07
10 changed files with 144 additions and 302 deletions
|
@ -23,7 +23,7 @@ class AddToQueue {
|
|||
_queueManagerModule.addToQueue(song);
|
||||
await _audioPlayerRepository.addToQueue(song);
|
||||
|
||||
final songList = _audioPlayerRepository.queueStream.value;
|
||||
final songList = _audioPlayerRepository.queueStream.valueWrapper.value;
|
||||
print(songList.length);
|
||||
_platformIntegrationRepository.setQueue(songList);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ class MoveQueueItem {
|
|||
_queueManagerModule.moveQueueItem(oldIndex, newIndex);
|
||||
await _audioPlayerRepository.moveQueueItem(oldIndex, newIndex);
|
||||
|
||||
final songList = _audioPlayerRepository.queueStream.value;
|
||||
final songList = _audioPlayerRepository.queueStream.valueWrapper.value;
|
||||
_platformIntegrationRepository.setQueue(songList);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,12 +19,12 @@ class PlayNext {
|
|||
final QueueManagerModule _queueManagerModule;
|
||||
|
||||
Future<void> call(Song song) async {
|
||||
final currentIndex = _audioPlayerRepository.currentIndexStream.value;
|
||||
final currentIndex = _audioPlayerRepository.currentIndexStream.valueWrapper.value;
|
||||
|
||||
_queueManagerModule.insertIntoQueue(song, currentIndex + 1);
|
||||
await _audioPlayerRepository.playNext(song);
|
||||
|
||||
final songList = _audioPlayerRepository.queueStream.value;
|
||||
final songList = _audioPlayerRepository.queueStream.valueWrapper.value;
|
||||
print(songList.length);
|
||||
_platformIntegrationRepository.setQueue(songList);
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ class PlaySongs {
|
|||
if (0 <= initialIndex && initialIndex < songs.length) {
|
||||
// _audioPlayerRepository.playSong(songs[initialIndex]);
|
||||
|
||||
final shuffleMode = _audioPlayerRepository.shuffleModeStream.value;
|
||||
final shuffleMode = _audioPlayerRepository.shuffleModeStream.valueWrapper.value;
|
||||
|
||||
await _queueGenerationModule.setQueue(
|
||||
shuffleMode,
|
||||
|
|
|
@ -22,7 +22,7 @@ class RemoveQueueIndex {
|
|||
_queueManagerModule.removeQueueIndex(index);
|
||||
await _audioPlayerRepository.removeQueueIndex(index);
|
||||
|
||||
final songList = _audioPlayerRepository.queueStream.value;
|
||||
final songList = _audioPlayerRepository.queueStream.valueWrapper.value;
|
||||
print(songList.length);
|
||||
_platformIntegrationRepository.setQueue(songList);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ class SetShuffleMode {
|
|||
_audioPlayerRepository.setShuffleMode(shuffleMode);
|
||||
|
||||
if (updateQueue) {
|
||||
final currentIndex = _audioPlayerRepository.currentIndexStream.value;
|
||||
final currentIndex = _audioPlayerRepository.currentIndexStream.valueWrapper.value;
|
||||
final originalIndex = _queueManagerModule.queue[currentIndex].originalIndex;
|
||||
|
||||
await _queueManagerModule.reshuffleQueue(shuffleMode, currentIndex);
|
||||
|
|
|
@ -1,136 +0,0 @@
|
|||
import 'dart:math';
|
||||
|
||||
import 'package:audio_service/audio_service.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
|
||||
import '../../domain/entities/shuffle_mode.dart';
|
||||
import '../datasources/music_data_source_contract.dart';
|
||||
import '../datasources/player_state_data_source.dart';
|
||||
import '../models/album_model.dart';
|
||||
import '../models/artist_model.dart';
|
||||
import '../models/song_model.dart';
|
||||
|
||||
const String SET_CURRENT_SONG = 'SET_CURRENT_SONG';
|
||||
const String PLAY = 'PLAY';
|
||||
const String PAUSE = 'PAUSE';
|
||||
|
||||
class MyAudioHandler extends BaseAudioHandler {
|
||||
MyAudioHandler(this._musicDataSource, this._playerStateDataSource) {
|
||||
// _audioPlayer.queueStream.skip(1).listen((event) {
|
||||
// _handleSetQueue(event);
|
||||
// });
|
||||
|
||||
// _audioPlayer.playbackEventStream.listen((event) => _handlePlaybackEvent(event));
|
||||
|
||||
// _audioPlayer.shuffleModeStream.skip(1).listen((shuffleMode) {
|
||||
// _playerStateDataSource.setShuffleMode(shuffleMode);
|
||||
// });
|
||||
|
||||
// _audioPlayer.loopModeStream.skip(1).listen((event) {
|
||||
// _playerStateDataSource.setLoopMode(event);
|
||||
// });
|
||||
|
||||
// _audioPlayer.positionStream.listen((event) {
|
||||
// _handlePosition(event, _audioPlayer.currentSongStream.value);
|
||||
// });
|
||||
|
||||
// _initAudioPlayer();
|
||||
}
|
||||
|
||||
// Future<void> _initAudioPlayer() async {
|
||||
// if (_playerStateDataSource.loopModeStream != null) {
|
||||
// _audioPlayer.setLoopMode(await _playerStateDataSource.loopModeStream.first);
|
||||
// }
|
||||
|
||||
// if (_playerStateDataSource.shuffleModeStream != null) {
|
||||
// _audioPlayer.setShuffleMode(await _playerStateDataSource.shuffleModeStream.first, false);
|
||||
// }
|
||||
|
||||
// if (_playerStateDataSource.queueStream != null &&
|
||||
// _playerStateDataSource.currentIndexStream != null) {
|
||||
// _audioPlayer.loadQueue(
|
||||
// queue: await _playerStateDataSource.queueStream.first,
|
||||
// initialIndex: await _playerStateDataSource.currentIndexStream.first,
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
|
||||
// final AudioPlayerDataSource _audioPlayer;
|
||||
final MusicDataSource _musicDataSource;
|
||||
final PlayerStateDataSource _playerStateDataSource;
|
||||
|
||||
static final _log = Logger('AudioHandler');
|
||||
|
||||
bool _countSongPlayback = true;
|
||||
|
||||
@override
|
||||
Future<void> stop() async {
|
||||
// await _audioPlayer.stop();
|
||||
// await _audioPlayer.dispose();
|
||||
await super.stop();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> skipToNext() async {
|
||||
// _audioPlayer.seekToNext().then((value) {
|
||||
// if (value) {
|
||||
// _musicDataSource.incrementSkipCount(_audioPlayer.currentSongStream.value);
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> addQueueItem(MediaItem mediaItem) async {
|
||||
// _audioPlayer.addToQueue(SongModel.fromMediaItem(mediaItem));
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> removeQueueItemAt(int index) async {
|
||||
// _audioPlayer.removeQueueIndex(index);
|
||||
}
|
||||
|
||||
Future<void> moveQueueItem(int oldIndex, int newIndex) async {
|
||||
// _audioPlayer.moveQueueItem(oldIndex, newIndex);
|
||||
}
|
||||
|
||||
Future<void> setIndex(int index) async {
|
||||
// _audioPlayer.setIndex(index);
|
||||
}
|
||||
|
||||
Future<void> playAlbum(AlbumModel album) async {
|
||||
// _audioPlayer.setShuffleMode(ShuffleMode.none, false);
|
||||
final List<SongModel> songs = await _musicDataSource.getAlbumSongStream(album).first;
|
||||
|
||||
// _audioPlayer.playSongList(songs, 0);
|
||||
}
|
||||
|
||||
Future<void> playArtist(ArtistModel artist, ShuffleMode shuffleMode) async {
|
||||
// _audioPlayer.setShuffleMode(shuffleMode, false);
|
||||
final List<SongModel> songs = await _musicDataSource.getArtistSongStream(artist).first;
|
||||
|
||||
final rng = Random();
|
||||
final index = rng.nextInt(songs.length);
|
||||
|
||||
// _audioPlayer.playSongList(songs, index);
|
||||
}
|
||||
|
||||
// void _handleSetQueue(List<QueueItemModel> queueItems) {
|
||||
// _playerStateDataSource.setQueue(queueItems);
|
||||
|
||||
// final mediaItems = queueItems.map((e) => e.song.toMediaItem()).toList();
|
||||
// queue.add(mediaItems);
|
||||
// }
|
||||
|
||||
// void _handlePosition(Duration position, SongModel song) {
|
||||
// if (song == null || position == null) return;
|
||||
|
||||
// final int pos = position.inMilliseconds;
|
||||
|
||||
// if (pos < song.duration * 0.05) {
|
||||
// _countSongPlayback = true;
|
||||
// } else if (pos > song.duration * 0.95 && _countSongPlayback) {
|
||||
// _countSongPlayback = false;
|
||||
// _musicDataSource.incrementPlayCount(song);
|
||||
// }
|
||||
// }
|
||||
}
|
|
@ -85,7 +85,7 @@ class SongModel extends Song {
|
|||
return null;
|
||||
}
|
||||
|
||||
final String artUri = mediaItem.artUri?.replaceFirst('file://', '');
|
||||
final String artUri = mediaItem.artUri?.path?.replaceFirst('file://', '');
|
||||
|
||||
final dn = mediaItem.extras['discNumber'];
|
||||
int discNumber;
|
||||
|
@ -200,7 +200,7 @@ class SongModel extends Song {
|
|||
album: album,
|
||||
artist: artist,
|
||||
duration: Duration(milliseconds: duration),
|
||||
artUri: 'file://$albumArtPath',
|
||||
artUri: Uri.file('$albumArtPath'),
|
||||
extras: {
|
||||
'albumId': albumId,
|
||||
'blocked': blocked,
|
||||
|
@ -210,27 +210,6 @@ class SongModel extends Song {
|
|||
'trackNumber': trackNumber,
|
||||
});
|
||||
|
||||
static List<int> _parseTrackNumber(String trackNumberString) {
|
||||
int discNumber = 1;
|
||||
int trackNumber;
|
||||
|
||||
if (trackNumberString == null) {
|
||||
return [null, null];
|
||||
}
|
||||
|
||||
trackNumber = int.tryParse(trackNumberString);
|
||||
if (trackNumber == null) {
|
||||
if (trackNumberString.contains('/')) {
|
||||
discNumber = int.tryParse(trackNumberString.split('/')[0]);
|
||||
trackNumber = int.tryParse(trackNumberString.split('/')[1]);
|
||||
}
|
||||
} else if (trackNumber > 1000) {
|
||||
discNumber = int.tryParse(trackNumberString.substring(0, 1));
|
||||
trackNumber = int.tryParse(trackNumberString.substring(1));
|
||||
}
|
||||
return [discNumber, trackNumber];
|
||||
}
|
||||
|
||||
static int _parseDiscNumber(String discNumberString) {
|
||||
if (discNumberString == null || discNumberString == '') {
|
||||
return 1;
|
||||
|
|
228
pubspec.lock
228
pubspec.lock
|
@ -7,35 +7,35 @@ packages:
|
|||
name: _fe_analyzer_shared
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "12.0.0"
|
||||
version: "21.0.0"
|
||||
analyzer:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: analyzer
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.40.6"
|
||||
version: "1.5.0"
|
||||
analyzer_plugin_fork:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: analyzer_plugin_fork
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.3.0"
|
||||
version: "0.5.1"
|
||||
archive:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: archive
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.13"
|
||||
version: "3.1.2"
|
||||
args:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: args
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.6.0"
|
||||
version: "2.1.0"
|
||||
async:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -47,8 +47,8 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "16610f447ddc10db913d1d4f63059632ccc12c7f"
|
||||
resolved-ref: "16610f447ddc10db913d1d4f63059632ccc12c7f"
|
||||
ref: "9c1dfc4"
|
||||
resolved-ref: "9c1dfc4d594cffdfbb812ded83293799b2b16cbc"
|
||||
url: "https://github.com/ryanheise/audio_service.git"
|
||||
source: git
|
||||
version: "0.16.2"
|
||||
|
@ -58,7 +58,7 @@ packages:
|
|||
name: audio_session
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.11"
|
||||
version: "0.1.0"
|
||||
audiotagger:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -79,56 +79,56 @@ packages:
|
|||
name: build
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.6.2"
|
||||
version: "2.0.1"
|
||||
build_config:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: build_config
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.4.5"
|
||||
version: "1.0.0"
|
||||
build_daemon:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: build_daemon
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.10"
|
||||
version: "3.0.0"
|
||||
build_resolvers:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: build_resolvers
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.5.3"
|
||||
version: "2.0.1"
|
||||
build_runner:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: build_runner
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.11.0"
|
||||
version: "2.0.2"
|
||||
build_runner_core:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: build_runner_core
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.1.7"
|
||||
version: "7.0.0"
|
||||
built_collection:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: built_collection
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.3.2"
|
||||
version: "5.0.0"
|
||||
built_value:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: built_value
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "7.1.0"
|
||||
version: "8.0.6"
|
||||
characters:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -149,14 +149,14 @@ packages:
|
|||
name: checked_yaml
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.4"
|
||||
version: "2.0.1"
|
||||
cli_util:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: cli_util
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.0"
|
||||
version: "0.3.0"
|
||||
clock:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -170,7 +170,7 @@ packages:
|
|||
name: code_builder
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.7.0"
|
||||
version: "4.0.0"
|
||||
collection:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -184,42 +184,28 @@ packages:
|
|||
name: convert
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.1"
|
||||
version: "3.0.0"
|
||||
crypto:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: crypto
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.5"
|
||||
version: "3.0.1"
|
||||
dart_style:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: dart_style
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.10"
|
||||
device_info:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: device_info
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.0"
|
||||
device_info_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: device_info_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.1"
|
||||
version: "2.0.1"
|
||||
equatable:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: equatable
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.6"
|
||||
version: "2.0.0"
|
||||
fake_async:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -233,7 +219,7 @@ packages:
|
|||
name: ffi
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.3"
|
||||
version: "1.0.0"
|
||||
file:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -247,14 +233,21 @@ packages:
|
|||
name: file_picker
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.7"
|
||||
version: "3.0.1"
|
||||
fimber:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: fimber
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.6.1"
|
||||
fixnum:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: fixnum
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.10.11"
|
||||
version: "1.0.0"
|
||||
flutter:
|
||||
dependency: "direct main"
|
||||
description: flutter
|
||||
|
@ -266,21 +259,35 @@ packages:
|
|||
name: flutter_cache_manager
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.2"
|
||||
version: "3.0.1"
|
||||
flutter_fimber:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: flutter_fimber
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.6.3"
|
||||
flutter_fimber_filelogger:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: flutter_fimber_filelogger
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0"
|
||||
flutter_mobx:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: flutter_mobx
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0+2"
|
||||
version: "2.0.0"
|
||||
flutter_plugin_android_lifecycle:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_plugin_android_lifecycle
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.11"
|
||||
version: "2.0.1"
|
||||
flutter_test:
|
||||
dependency: "direct dev"
|
||||
description: flutter
|
||||
|
@ -291,62 +298,76 @@ packages:
|
|||
description: flutter
|
||||
source: sdk
|
||||
version: "0.0.0"
|
||||
frontend_server_client:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: frontend_server_client
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.0"
|
||||
get_it:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: get_it
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "5.0.6"
|
||||
version: "7.1.3"
|
||||
glob:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: glob
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "2.0.1"
|
||||
graphs:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: graphs
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.0"
|
||||
version: "2.0.0"
|
||||
http:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: http
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.12.2"
|
||||
version: "0.13.3"
|
||||
http_multi_server:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: http_multi_server
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
version: "3.0.1"
|
||||
http_parser:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: http_parser
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.1.4"
|
||||
version: "4.0.0"
|
||||
image:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.19"
|
||||
version: "3.0.2"
|
||||
intl:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: intl
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.17.0"
|
||||
io:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: io
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.3.5"
|
||||
version: "1.0.0"
|
||||
js:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -360,35 +381,35 @@ packages:
|
|||
name: json_annotation
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.1.1"
|
||||
version: "4.0.1"
|
||||
just_audio:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: just_audio
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.6.15+1"
|
||||
version: "0.7.4+1"
|
||||
just_audio_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: just_audio_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.1"
|
||||
version: "3.0.0"
|
||||
just_audio_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: just_audio_web
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.3"
|
||||
version: "0.3.1"
|
||||
logging:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: logging
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.11.4"
|
||||
version: "1.0.1"
|
||||
matcher:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -416,35 +437,35 @@ packages:
|
|||
name: mobx
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.1+4"
|
||||
version: "2.0.1"
|
||||
mobx_codegen:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: mobx_codegen
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.2"
|
||||
version: "2.0.1+3"
|
||||
mockito:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: mockito
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.1.4"
|
||||
version: "4.1.1+1"
|
||||
moor:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: moor
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.4.0"
|
||||
version: "4.2.1"
|
||||
moor_generator:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: moor_generator
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.4.1"
|
||||
version: "4.2.2"
|
||||
nested:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -452,27 +473,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.0"
|
||||
node_interop:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: node_interop
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.1"
|
||||
node_io:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: node_io
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.1"
|
||||
package_config:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_config
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.9.3"
|
||||
version: "2.0.0"
|
||||
path:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -486,35 +493,35 @@ packages:
|
|||
name: path_provider
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.6.28"
|
||||
version: "2.0.1"
|
||||
path_provider_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_linux
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.1+2"
|
||||
version: "2.0.0"
|
||||
path_provider_macos:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_macos
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.4+8"
|
||||
version: "2.0.0"
|
||||
path_provider_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.4"
|
||||
version: "2.0.1"
|
||||
path_provider_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_windows
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.4+3"
|
||||
version: "2.0.1"
|
||||
pedantic:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -528,7 +535,7 @@ packages:
|
|||
name: petitparser
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.1.0"
|
||||
version: "4.1.0"
|
||||
platform:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -542,7 +549,7 @@ packages:
|
|||
name: plugin_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.3"
|
||||
version: "2.0.0"
|
||||
pool:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -563,28 +570,21 @@ packages:
|
|||
name: provider
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.3.3"
|
||||
version: "5.0.0"
|
||||
pub_semver:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: pub_semver
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.4.4"
|
||||
version: "2.0.0"
|
||||
pubspec_parse:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: pubspec_parse
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.8"
|
||||
quiver:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: quiver
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.5"
|
||||
version: "1.0.0"
|
||||
recase:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -598,28 +598,28 @@ packages:
|
|||
name: reorderables
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.3.2"
|
||||
version: "0.4.1"
|
||||
rxdart:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: rxdart
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.25.0"
|
||||
version: "0.26.0"
|
||||
shelf:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shelf
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.7.9"
|
||||
version: "1.1.2"
|
||||
shelf_web_socket:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shelf_web_socket
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.4+1"
|
||||
version: "1.0.1"
|
||||
sky_engine:
|
||||
dependency: transitive
|
||||
description: flutter
|
||||
|
@ -631,7 +631,7 @@ packages:
|
|||
name: source_gen
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.9.10+2"
|
||||
version: "1.0.0"
|
||||
source_span:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -645,35 +645,35 @@ packages:
|
|||
name: sqflite
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.2+4"
|
||||
version: "2.0.0+3"
|
||||
sqflite_common:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: sqflite_common
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.3+3"
|
||||
version: "2.0.0+2"
|
||||
sqlite3:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: sqlite3
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.8"
|
||||
version: "1.1.1"
|
||||
sqlite3_flutter_libs:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: sqlite3_flutter_libs
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.3.0"
|
||||
version: "0.4.1"
|
||||
sqlparser:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: sqlparser
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.11.0"
|
||||
version: "0.15.0"
|
||||
stack_trace:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -694,7 +694,7 @@ packages:
|
|||
name: stream_transform
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "2.0.0"
|
||||
string_scanner:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -708,7 +708,7 @@ packages:
|
|||
name: synchronized
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.0+2"
|
||||
version: "3.0.0"
|
||||
term_glyph:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -729,7 +729,7 @@ packages:
|
|||
name: timing
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.1+3"
|
||||
version: "1.0.0"
|
||||
typed_data:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -743,7 +743,7 @@ packages:
|
|||
name: uuid
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.2"
|
||||
version: "3.0.4"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -757,42 +757,42 @@ packages:
|
|||
name: watcher
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.9.7+15"
|
||||
version: "1.0.0"
|
||||
web_socket_channel:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: web_socket_channel
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "2.1.0"
|
||||
win32:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: win32
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.7.4+1"
|
||||
version: "2.0.5"
|
||||
xdg_directories:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: xdg_directories
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.2"
|
||||
version: "0.2.0"
|
||||
xml:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: xml
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.5.1"
|
||||
version: "5.1.0"
|
||||
yaml:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: yaml
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.1"
|
||||
version: "3.1.0"
|
||||
sdks:
|
||||
dart: ">=2.12.0 <3.0.0"
|
||||
flutter: ">=1.22.2"
|
||||
flutter: ">=2.0.0"
|
||||
|
|
43
pubspec.yaml
43
pubspec.yaml
|
@ -8,39 +8,38 @@ environment:
|
|||
flutter: ">=1.20.0"
|
||||
|
||||
dependencies:
|
||||
audio_service: # ^0.15.0
|
||||
audio_service:
|
||||
git:
|
||||
url: https://github.com/ryanheise/audio_service.git
|
||||
ref: 16610f447ddc10db913d1d4f63059632ccc12c7f
|
||||
audio_session: ^0.0.3
|
||||
ref: 9c1dfc4
|
||||
audio_session: ^0.1.0
|
||||
audiotagger: ^2.2.0
|
||||
device_info: ^1.0.0
|
||||
equatable: ^1.1.0
|
||||
file_picker: ^2.1.4
|
||||
equatable: ^2.0.0
|
||||
file_picker: ^3.0.1
|
||||
fimber: ^0.6.1
|
||||
flutter:
|
||||
sdk: flutter
|
||||
flutter_mobx: ^1.1.0
|
||||
get_it: ^5.0.0
|
||||
just_audio: ^0.6.9
|
||||
# git:
|
||||
# url: https://github.com/ryanheise/just_audio.git
|
||||
# path: just_audio
|
||||
logging: ^0.11.4
|
||||
mobx: ^1.1.1
|
||||
moor: ^3.3.0
|
||||
flutter_fimber: ^0.6.3
|
||||
flutter_fimber_filelogger: ^1.2.0
|
||||
flutter_mobx: ^2.0.0
|
||||
get_it: ^7.1.3
|
||||
just_audio: ^0.7.4
|
||||
logging: ^1.0.1
|
||||
mobx: ^2.0.1
|
||||
moor: ^4.2.1
|
||||
path:
|
||||
path_provider: ^1.6.18
|
||||
provider: ^4.0.4
|
||||
reorderables: ^0.3.2
|
||||
sqlite3_flutter_libs: ^0.3.0
|
||||
path_provider: ^2.0.0
|
||||
provider: ^5.0.0
|
||||
reorderables: ^0.4.1
|
||||
sqlite3_flutter_libs: ^0.4.1
|
||||
|
||||
dev_dependencies:
|
||||
build_runner: 1.11.0
|
||||
build_runner: ^2.0.2
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
mobx_codegen: ^1.0.3
|
||||
mobx_codegen: ^2.0.1+3
|
||||
mockito: ^4.1.1
|
||||
moor_generator: ^3.4.0
|
||||
moor_generator: ^4.2.2
|
||||
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
|
|
Loading…
Add table
Reference in a new issue