Skip to content

vera-byte/cool-flutter-kit

Repository files navigation

CodeFactor

COOL-FLUTTER(支持空安全)

让你不用想太多就能开发完功能

更快

  • 开发快:eps 模式下,无须手动添加接口请求方法。

环境要求 如flutter pub get 安装不了请检查环境

# COOL-FLUTTER 开发环境
➜ flutter --version
Flutter 3.3.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision eb6d86ee27 (9 days ago) • 2022-10-04 22:31:45 -0700
Engine • revision c08d7d5efc
Tools • Dart 2.18.2 • DevTools 2.15.0

# COOL-FLUTTER 要求环境

sdk: '>=2.18.0 <3.0.0'
flutter: '>=3.3.0'

安装并使用

 
书写中

依赖介绍

依赖包名 包介绍 官网 版本 空安全
Get 状态管理 Pub 4.6.5 支持
uuid UUID生成器 Pub 3.0.6 支持
sqlite3 本地SQL数据库 Pub 1.9.0 支持
chopper 依赖Http库 Pub 5.1.0 支持
chopper_generator chopper代码生成器 Pub 5.1.0 支持
build_runner Dart 的独立生成器和观察器(dart官网库) Pub 2.3.0 支持
logging 日志 Pub 1.1.0 支持

更强

内置请求、路由、文件上传、组件通信、缓存等方法及 ui 库和 hooks 比UNI更强更流畅 适用于IOS,Android

目录树 TODO COOL-FLUTTER


COOL-FLUTTER
 ├── cool.dart
 └── src
     ├── theme
     │   └── index.dart
     ├── config
     │   └── index.dart
     ├── ui
     │   ├── index.dart
     │   ├── utils
     │   │   └── index.dart
     │   ├── types
     │   ├── hook
     │   ├── style
     │   │   └── toast.dart
     │   └── components
     │       ├── cool-ui.dart
     │       └── tosat
     │           └── index.dart     - [ 🪝 ] 已完成
     │       └── text
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── image
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── icon
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── tag
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── loading
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── button
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── input
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── input-number
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── textarea
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── checkbox
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── radio
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── select
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── rate
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── switch
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── upload
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── form
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── avatar
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── badge
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── banner
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── card
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── count-down
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── divder
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── flex
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── grid
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── list
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── loadmore
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── noticebar
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── popup
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── progress
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── search
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── slider
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── tabs
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── timeline
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── topbar
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── waterfall
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── action-sheet
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── captcha
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── confirm
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── dialog
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── filter-bar
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── share
     │           └── index.dart     - [ ❌ ] 开发中
     │       └── webview-bridge
     │           └── index.dart     - [ 🪝 ] 已完成
     ├── utils
     │   └── index.dart
     └── core
         ├── index.dart
         ├── upload
         ├── store
         ├── socket
         ├── service
         ├── router
         ├── mitt
         ├── hook
         └── eps

注意:使用--delete-conflicting-outputs会在生成新文件之前删除所有已生成的文件。 build_runner 内置命令

flutter pub run build_runner build --delete-conflicting-outputs

Releases

No releases published

Packages

No packages published