flutter_curiosity 6.0.0 copy "flutter_curiosity: ^6.0.0" to clipboard
flutter_curiosity: ^6.0.0 copied to clipboard

The flutter curiosity is compatible with android and ios for multiple native features

flutter_curiosity #

集成部分原生功能,支持 IOS Android macOS Windows Linux #

android #

  • 自动 添加 android http无法请求接口 解决方法
  • 自动 添加 FileProvider 配置至 AndroidManifest
  • 按需要 添加以下权限
<!--允许程序安装应用程序 可选-->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>

介绍 #

  • 原生方法 [获取GPS状态、获取app信息、监听键盘状态、获取android已安装应用、监听android activity result]
void fun() {
  Curiosity().native.fun();
}

  • 桌面端方法
void fun() {
  Curiosity().desktop.fun();
}
  • 桌面端窗口尺寸设置(支持 macOS Windows Linux)

void fun() {
  /// 设置桌面版 为 手机 或 ipad 尺寸
  DesktopWindowsSize.iPhone6P1.set();
}
2
likes
125
pub points
64%
popularity

Publisher

unverified uploader

The flutter curiosity is compatible with android and ios for multiple native features

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_curiosity