flutter

不再关注网络安全

No podspec found for `flutter_keyboard_visibility_web`解决

No podspec found for `flutter_keyboard_visibility_web`解决

如示: Analyzing dependencies [!] No podspec found for `flutter_keyboard_visibility_web` in .symlinks/plugins/flutter_keyboard_visibility_web/ios` 解决办法 删除 Podfile 和 Podfile.loc...

Flutter打包方式

Flutter打包方式

前言 Flutter 在打包安卓应用时有两种方式 flutter build apk 和 flutter build appbundle,本文说下这两种方式有什么区别。 Appbundle Android App Bundle 是上传到 Google Play 用以...

Flutter SDK升级、降级、回退到指定版本方法

Flutter SDK升级、降级、回退到指定版本方法

Flutter SDK 归档列表 Flutter 的 Stable channel 是相对稳定的发布版本 https://docs.flutter.cn/release/archive 相关命令: 查看版本: flutter --version 检查环境:flutter doctor 查看渠道:fl...

flutter解决Could not resolve all artifacts for configuration ‘:classpath’.

完整错误如下: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:lintVi...

The iOS Simulator deployment target is set to 4.3解决

在ios模拟器上调试的时候出现错误信息:The iOS Simulator deployment target is set to 4.3... 原来是因为ios 版本问题,于是找到资料是在 Podfile...

‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决

‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决

错误提示 [!] 'AMapFoundation' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the l...

Automatically assigning platform `ios` with version `9.0` on target `Runner`解决

Automatically assigning platform `ios` with version `9.0` on target `Runner`解决

Automatically assigning platform ios with version 9.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile ...

Flutter: Error running pod install解决

Flutter: Error running pod install解决

错误信息: Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Running pod install... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using `AR...

Flutter隐藏控件Offstage/Visibility/Opacity/ifelse

Flutter隐藏控件Offstage/Visibility/Opacity/ifelse

在flutter里隐藏控件可以通过多种方式实现。Visibility和Offstage的区别就是保不保留空间,比如你控件设置了宽高,使用Visibility隐藏,但还会留有一块空白在那里的,类似android的gone和visible一样的效果。另...

优雅的退出Flutter应用

优雅的退出Flutter应用

flutter默认情况下的退出应用是不彻底的,会在后台继续运行VM虚拟机,但一些场景下可能需要强制/彻底关闭应用程序。 Flutter退出/关闭应用 在IOS上没有退出/关闭应用的概念,起码是在编程概念和方法中没有...