MusixMatch

歌词查找器应用程序

API密钥

在启动应用程序之前,您需要从musixMatch获取API密钥

https://developer.musixmatch.com/

设置环境

  • 在项目目录中创建.env文件
  • 添加API_KEY=$API_KEY

项目结构

  • core: 包含应用程序的全局配置
  • gen: 自动生成文件 (build_runner)
  • presentation: 包含有状态UI屏幕、小部件和用于状态管理的Bloc
    • Bloc
    • 小部件
    • 页面
  • repo: 包含数据模型、数据源及其实现
  • routing: 所有路由配置 (使用Auto_route包)

构建包

dart run build_runner watch --delete-conflicting-outputs

发布

flutter build apk --release

输出

home_screen lysric_screen bookmark_screen

GitHub

查看 Github