Skip to content
flutter知识点学习与实战,问题解决方案记录
Dart Java Ruby Objective-C
Branch: master
Clone or download
Latest commit 03d5ae9 Oct 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea update sdk Oct 27, 2018
android update sdk Oct 27, 2018
images commit Jul 15, 2018
ios update sdk Oct 27, 2018
lib
screenshot
test
.gitignore commit May 28, 2018
.metadata commit May 28, 2018
README.md commit Aug 3, 2018
flutter_study.iml commit Aug 2, 2018
flutter_study_android.iml
pubspec.lock update sdk Oct 27, 2018
pubspec.yaml

README.md

flutter_study

感谢 http://gank.io 提供的api帮助完成这个demo 该项目完全开源,单纯为了学习与交流,希望大家喜欢,多多提意见。 后续会将未来学到的新知识点用到该项目,持续更新

知识点(每一个都有一个独立的例子)

1.基础布局
2.数据请求
3.MVP实现
4.上拉加载(监测到最底端直接刷新,待优化),下拉刷新
5.主题学习
6.路由
7.drawer
8.数据存储三种方式(文件,SharedPreference,sqflite)
9.手势
10.图片加载
11.生命周期
12.网络请求(dio,http,原生)
13.多点触控
14.InheritedWidget
15.TabBarView & TabBar ,切换的时候,每次都会执行initState。 16.GlobalKey(简单使用)
17.国际化
18.Notification自下而上传递数据
19.显示/隐藏widget
20.drag
21.Animation
22.StreamController
23.Business Logic Component
24.Simple Redux & Simple BLoC
25.Channel(目前使用Android设备学习,高德,权限)

部分问题记录

1.SnackBar弹不出怎么办
2.如何监听实体返回键和AppBar返回键
3.刘海和状态栏没有填充当前主题颜色怎么办

第三方库

第三方库搜索:
https://pub.dartlang.org/

持久化
sqflite:https://pub.dartlang.org/packages/sqflite
shared_preferences:https://pub.dartlang.org/packages/shared_preferences
path_provider:https://pub.dartlang.org/packages/path_provider

图片加载
cached_network_image:https://pub.dartlang.org/packages/cached_network_image
transparent_image:https://pub.dartlang.org/packages/transparent_image

网络请求
dio:https://pub.dartlang.org/packages/dio
http:https://pub.dartlang.org/packages/http

WebView
flutter_webview_plugin:https://pub.dartlang.org/packages/flutter_webview_plugin

推荐资源

Flutter英文网:https://flutter.io
Flutter中文网:https://flutterchina.club
Flutter社区:http://flutter-dev.cn/

You can’t perform that action at this time.