Files
QingTing-Player/lib/models/song_model.dart
T
2026-08-14 21:39:39 +08:00

17 lines
562 B
Dart

class Song {
final String id;
final String title;
final String artist;
final String? url; // 以后放 content:// 或 https://
Song({required this.id, required this.title, required this.artist, this.url});
// 示例占位数据
static List<Song> get placeholderSongs => [
Song(id: '1', title: '晴天', artist: '周杰伦'),
Song(id: '2', title: '起风了', artist: '买辣椒也用券'),
Song(id: '3', title: 'Flower Dance', artist: 'DJ Okawari'),
Song(id: '4', title: '夜曲', artist: '周杰伦'),
];
}