创建

1
flutter create --org com.example --template=plugin test_hover

初始化

1
2
3
4
cd test_hover
# test_hover/

hover init-plugin github.com/my-organization/test_hover

插件开发

1
2
cd go
# test_hover/go

运行示例

1
2
3
4
5
6
7
cd ../example
# test_hover/example

flutter build bundle
hover init
hover plugins get
yes | hover run

git本地、远端初始化

1
# test_hover/example

go-flutter发布

1
2
3
4
cd ..
# test_hover

hover publish-plugin

flutter发布

1
2
3
4
# test_hover

flutter packages pub publish --dry-run
flutter packages pub publish