只保留Android支持
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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: '周杰伦'),
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user