flutter_curiosity 6.5.0 copy "flutter_curiosity: ^6.5.0" to clipboard
flutter_curiosity: ^6.5.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
155
points
639
downloads

Publisher

unverified uploader

Weekly Downloads

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