GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xdd666t/flutter_use: some trick used by flutter | Flutter使用的一些骚操作

BranchesTags
Open more actions menu

Latest commit

 

History

515 Commits
515 Commits

Folders and files

NameName
Last commit message
Last commit date
android
android
 
 
assets/fonts
assets/fonts
 
 
docs
docs
 
 
ios
ios
 
 
lib
lib
 
 
linux
linux
 
 
macos
macos
 
 
test
test
 
 
web
web
 
 
windows
windows
 
 
.gitignore
.gitignore
 
 
.metadata
.metadata
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
analysis_options.yaml
analysis_options.yaml
 
 
publish_web.sh
publish_web.sh
 
 
pubspec.yaml
pubspec.yaml
 
 

Repository files navigation

stars issues

效果地址

  • Web:https://xdd666t.github.io/flutter_use/web/index.html
    • 编译的web代码及其资源在docs文件夹下,这边github page路径选择的是docs

代码路径

  • 代码规范:Flutter 改善套娃地狱问题(仿喜马拉雅PC页面举例)
    • 每一个靓仔应该去了解了解的奇技淫巧
├─lib
│  ├─module
│  │  ├─function
│  │  │  ├─himalaya       ///仿喜马拉雅PC代码在此目录下
│  │  │  │  └─widget
  • 一个更优雅的Flutter Dialog解决方案:这一次,解决Flutter Dialog的各种痛点!
    • 简洁,强大,侵入性极低的Flutter Dialog解决方案
├─lib
│  ├─module
│  │  ├─function
│  │  │  ├─smart_dialog   ///SmartDialog功能演示demo代码在此目录下
│  │  │  │  └─widget
  • GetX
    • 使用篇:Flutter GetX使用---简洁的魅力!
    • 源码篇:Flutter GetX深度剖析 | 我们终将走出自己的路(万字图文)
├─lib
│  ├─module
│  │  ├─example
│  │  │  ├─getx                 ///getx演示代码在此目录下
│  │  │  │  ├─auto_dispose
│  │  │  │  ├─counter_binding
│  │  │  │  ├─counter_easy
│  │  │  │  ├─counter_high_get
│  │  │  │  ├─counter_rx
│  │  │  │  ├─easy_x
│  │  │  │  │  ├─easy_builder
│  │  │  │  │  └─ebx
│  │  │  │  ├─easy_x_builder
│  │  │  │  ├─easy_x_ebx
│  │  │  │  ├─jump_page
│  │  │  │  │  ├─jump_one
│  │  │  │  │  └─jump_two
│  │  │  │  └─widget
  • Provider:Provider的刷新机制真的很有趣!

    • 使用+源码深度剖析:Flutter Provider的另一面(万字图文)
├─lib
│  ├─module
│  │  ├─example
│  │  │  ├─provider        /// provider演示代码在此目录下
│  │  │  │  ├─counter_easy
│  │  │  │  ├─counter_high
│  │  │  │  ├─custom_builder
│  │  │  │  ├─easy_p
│  │  │  │  ├─easy_p_counter
│  │  │  │  ├─easy_p_counter_global
│  │  │  │  ├─span_page
│  │  │  │  │  ├─span_one
│  │  │  │  │  └─span_two
│  │  │  │  └─test_notifier
  • Bloc
    • 使用篇:flutter_bloc使用解析---骚年,你还在手搭bloc吗!
    • 源码篇:Flutter Bloc背后的思想
├─lib
│  ├─module
│  │  ├─common
│  │  │  └─widget
│  │  ├─example
│  │  │  ├─bloc               ///bloc演示代码在此目录下
│  │  │  │  ├─counter_bloc
│  │  │  │  ├─counter_cubit
│  │  │  │  ├─custom_builder
│  │  │  │  ├─easy_c
│  │  │  │  ├─easy_c_counter
│  │  │  │  ├─span_page
│  │  │  │  │  ├─span_one
│  │  │  │  │  └─span_two
│  │  │  │  └─stream

关于编译

  • 因为引用了:window_size 依赖,可能会导致编译运行报错(window上),进行下述设置即可解决
    • Window 10系统:设置 -> 更新和安全 -> 开发者选项 -> 开发人员模式:从任意元(包括松散文件)安装应用 -> 开启即可

image-20210309154335161

打包操作

  • android(关闭R8压缩)
    • flutter build apk --no-shrink
  • ios(生成 .app ,然后 在 XCode 执行 打包 操作)
    • flutter build ios --release
  • web:使用CanvasKit模式
    • flutter build web --web-renderer canvaskit

About

some trick used by flutter | Flutter使用的一些骚操作

xdd666t.github.io/flutter_use/web/index.html

Resources

Readme
MIT license
Activity

Stars

603 stars

Watchers

41 watching

Forks

115 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.