xyvcard_goods_dart 0.0.2 copy "xyvcard_goods_dart: ^0.0.2" to clipboard
xyvcard_goods_dart: ^0.0.2 copied to clipboard

xyvcard goods package, 商品模块.

部署 #

  1. 更新包 flutter pub get
  2. 测试 flutter test
  3. 登录 dart pub login
  4. 发布 dart pub publish
  5. 代理

Windows 终端 #

set http_proxy=http://127.0.0.1:7890 set https_proxy=http://127.0.0.1:7890

Mac/Linux 终端 #

export http_proxy=http://127.0.0.1:7890 export https_proxy=http://127.0.0.1:7890

代码生成 #

  1. 安装flutter SDK

  2. 安装 Grpc protoc-gen-dart代码插件 flutter pub global activate protoc_plugin

  3. 创建项目 flutter create --template=package xyvcard_goods_dart

  4. 生成代码

export PATH="$PATH":"$HOME/.pub-cache/bin"

protoc -I ../xyvcard-goods-lib/src/main/proto --proto_path=. --dart_out=grpc:./lib ../xyvcard-goods-lib/src/main/proto/xyvcard/goods/*.proto

protoc -I ../xyvcard-goods-lib/src/main/proto --proto_path=. --dart_out=grpc:./lib ../xyvcard-goods-lib/src/main/proto/xyvcard/goods/protobuf/*.proto

0
likes
125
points
136
downloads

Publisher

verified publisherjmash.crenjoy.com

Weekly Downloads

xyvcard goods package, 商品模块.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

fixnum, flutter, grpc, jmash_core_dart, protobuf

More

Packages that depend on xyvcard_goods_dart