RhythmBox/lib/providers/spotify.dart
2024-08-27 14:48:31 +08:00

18 lines
359 B
Dart

import 'package:get/get.dart';
import 'package:spotify/spotify.dart';
class SpotifyProvider extends GetxController {
late final SpotifyApi api;
@override
void onInit() {
api = SpotifyApi(
SpotifyApiCredentials(
'f73d4bff91d64d89be9930036f553534',
'5cbec0b928d247cd891d06195f07b8c9',
),
);
super.onInit();
}
}