Skip to content

flutter相关

UI组件库

https://github.com/forus-labs/foruihttps://github.com/Tencent/tdesign-flutter/tree/mainhttps://github.com/ionicfirebaseapp/getwidget

镜像配置

https://github.com/cheenbee/cheenbee.github.io/issues/27

bash
$ vim .bash_profile
添加以下行并更改[PATH_TO_FLUTTER_GIT_DIRECTORY]为克隆Flutter的git repo的路径:
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=PATH_TO_FLUTTER_GIT_DIRECTORY/flutter/bin:$PATH

查看 flutter 安装位置

shell
flutter doctor [-v]

依赖包安装位置 flutter pub get

C:\Users\<username>\AppData\Local\Pub\Cache\hosted

安卓项目查看 gardle 版本

打开gradle-wrapper文件可以看到这一行,其实就是所需gradle的下载网址 distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

通过android studio 下载 jdk

File(或在 macOS 上依次前往 Android Studio) > Settings > Build, Execution, Deployment > Build Tools > Gradle

Released under the MIT License.