mirror of
				https://github.com/johrpan/musicus_mobile.git
				synced 2025-10-26 18:57:25 +01:00 
			
		
		
		
	 3471fcf78b
			
		
	
	
		3471fcf78b
		
	
	
	
	
		
			
			This introduces a dependency on audio_service and implements the playback service using that package. The UI was adapted to the new interface.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:audio_service/audio_service.dart';
 | |
| import 'package:flutter/widgets.dart';
 | |
| 
 | |
| import 'app.dart';
 | |
| import 'backend.dart';
 | |
| 
 | |
| void main() {
 | |
|   runApp(AudioServiceWidget(
 | |
|     child: Backend(
 | |
|       child: App(),
 | |
|     ),
 | |
|   ));
 | |
| }
 |