File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# phasetida_flutter
2- [ ![ Version] ( https://img.shields.io/badge/version-0.2.0 -red.svg )] ( )
2+ [ ![ Version] ( https://img.shields.io/badge/version-0.3.1 -red.svg )] ( )
33[ phasetida-core] ( https://github.com/phasetida/phasetida-core ) 的Flutter包装
44
55## 安装
1010 # ...
1111 phasetida_flutter :
1212 git : https://github.com/phasetida/phasetida_flutter.git
13- ref : " 0.2.0 "
13+ ref : " 0.3.1 "
1414 ` ` `
15152. 运行命令来更新项目
1616 ` ` ` bash
1717 flutter pub get
1818 ```
1919
2020## 使用
21- 这个包添加了一个Widget,即`` PhigrosSimulatorRenderWidget `` 和`` PhigrosChartPlayerShellWidget `` ,前者为后者的包装,推荐使用前者。简单的使用方法大致如下:
22- ``` dart
23- PhigrosChartPlayerShellWidget(
24- jsonData: /* add your chart json data here*/,
25- songName: /* for ui display */,
26- author: /* for ui display */,
27- chartComposer: /* for ui display */,
28- quitCallback: () { /* the behavior of clicking back button in widget*/
29- Navigator.pop(context);
30- },
31- )
32- ```
21+ 这个包添加了两个Widget,即`` PhigrosChartPlayerShellWidget `` 和`` PhigrosSimulatorRenderWidget `` ,前者为后者的包装,推荐使用前者。
3322如果想要更加精细的控制,请包装`` PhigrosSimulatorRenderWidget ``
3423
3524## 贡献者
@@ -38,4 +27,4 @@ PhigrosChartPlayerShellWidget(
3827| :-:| :-:|
3928| [ ![ ] ( https://github.com/qianmo2233.png/?size=128 )] ( https://github.com/qianmo2233 ) |
4029| [ @qianmo2233 ] ( https://github.com/qianmo2233 ) |
41- | 拯救了这个包原先丑陋的UI和糟糕的用户体验||
30+ | 拯救了这个包原先丑陋的UI和糟糕的用户体验|
You can’t perform that action at this time.
0 commit comments