common_flutter 0.0.3 copy "common_flutter: ^0.0.3" to clipboard
common_flutter: ^0.0.3 copied to clipboard

该包用来封装经常用到的一些工具、公共组件等

common_flutter #

A new Flutter plugin project.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

pub.dev

登陆完成后:

// 写入token
await secureStorage.write(key: "access_token", value: token);

// 写入headers
final s = json.encode({"x-customer-id": "4"});
await secureStorage.write(key: "headers", value: s);
0
likes
135
points
149
downloads

Publisher

unverified uploader

Weekly Downloads

该包用来封装经常用到的一些工具、公共组件等

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_secure_storage, plugin_platform_interface

More

Packages that depend on common_flutter

Packages that implement common_flutter