Skip to content

[WIP] a simple Flutter wrapper for phasetida-node-demo, providing embeddable webview controls

License

Notifications You must be signed in to change notification settings

phasetida/phasetida_flutter

Repository files navigation

phasetida_flutter

Version
phasetida-core的Flutter包装

安装

引用Github仓库

  1. pubspec.yaml里添加依赖
    dependencies:
    # ...
    phasetida_flutter:
      git: https://github.com/phasetida/phasetida_flutter.git
      ref: "0.2.0"
  2. 运行命令来更新项目
    flutter pub get

使用

这个包添加了一个Widget,即PhigrosSimulatorRenderWidgetPhigrosChartPlayerShellWidget,前者为后者的包装,推荐使用前者。简单的使用方法大致如下:

PhigrosChartPlayerShellWidget(
    jsonData: /* add your chart json data here*/,
    songName: /* for ui display */,
    author: /* for ui display */,
    chartComposer: /* for ui display */,
    quitCallback: () { /* the behavior of clicking back button in widget*/
      Navigator.pop(context);
    },
)

如果想要更加精细的控制,请包装PhigrosSimulatorRenderWidget

贡献者

感谢以下贡献者对这个项目做出的贡献

@qianmo2233
拯救了这个包原先丑陋的UI和糟糕的用户体验

About

[WIP] a simple Flutter wrapper for phasetida-node-demo, providing embeddable webview controls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •