An open API service indexing awesome lists of open source software.

https://github.com/wayaer/flutter_curiosity

集成部分原生功能,支持ios 、android、macOS、windows、linux。
https://github.com/wayaer/flutter_curiosity

android ios macos

Last synced: 4 months ago
JSON representation

集成部分原生功能,支持ios 、android、macOS、windows、linux。

Awesome Lists containing this project

README

          

# flutter_curiosity

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

### android

- 自动 添加 android http 允许请求配置
- 自动 添加 FileProvider 配置至 AndroidManifest
- 按需要 添加以下权限

```html

```

### 介绍

- 原生方法 [获取GPS状态、获取app信息、监听键盘状态、获取android已安装应用、监听android activity result]

```dart
void fun() {
Curiosity().native.fun();
}

```

- 桌面端方法

```dart
void fun() {
Curiosity().desktop.fun();
}
```

- 桌面端窗口尺寸设置(支持 macOS Windows Linux)

```dart

void fun() {
/// 设置桌面版 为 手机 或 ipad 尺寸
DesktopWindowsSize.iPhone6P1.set();
}
```