📝 修改readme

This commit is contained in:
toly
2020-08-29 11:06:37 +08:00
parent 57ab320fb6
commit d260ab0a80
3 changed files with 7 additions and 68 deletions

View File

@@ -1,4 +1,10 @@
#### Flutter Unit 周边
- 🔥 [《Flutter之旅》源码 ](https://github.com/toly1994328/FlutterUnit/files/5144713/FlutterJourney.Source.zip)
- 🔥 [Flutter环境配置](https://github.com/toly1994328/FlutterUnit/issues/22)
- 🔥 [Flutter实用插件集录 ](https://github.com/toly1994328/FlutterUnit/issues/41)
- 🔥 [Flutter要点集录 ](https://github.com/toly1994328/FlutterUnit/labels/point)
[![GitHub stars](https://img.shields.io/github/stars/toly1994328/FlutterUnit)](https://github.com/toly1994328/FlutterUnit/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/toly1994328/FlutterUnit)](https://github.com/toly1994328/FlutterUnit/network)
[![GitHub license](https://img.shields.io/github/license/toly1994328/FlutterUnit)](https://github.com/toly1994328/FlutterUnit/blob/master/LICENSE)
@@ -19,14 +25,6 @@
---
#### Flutter Unit 周边
- 🔥 [Flutter实用插件集录 ](https://github.com/toly1994328/FlutterUnit/issues/41)
- 🔥 [Flutter要点集录 ](https://github.com/toly1994328/FlutterUnit/labels/point)
- 🔥 [Flutter Unit 更新记录 ](http://king.toly1994.com/FlutterUnit_update.html)
---
> 当前Flutter 版本
```

View File

@@ -93,8 +93,7 @@ class _HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin{
_switchTab(int index, Color color) {
if (_ctrl.hasClients) _ctrl.jumpTo(0);
BlocProvider.of<HomeBloc>(context)
.add(EventTabTap(Convert.toFamily(index)));
BlocProvider.of<HomeBloc>(context).add(EventTabTap(Convert.toFamily(index)));
}
_toDetailPage(WidgetModel model) async {

View File

@@ -1,58 +0,0 @@
//import 'package:flutter/material.dart';
//
///// create by 张风捷特烈 on 2020-03-28
///// contact me by email 1981462002@qq.com
///// 说明:
//
//class CustomScrollable extends StatelessWidget {
// final data = <Color>[
// Colors.blue[50],
// Colors.blue[100],
// Colors.blue[200],
// Colors.blue[300],
// Colors.blue[400],
// Colors.blue[500],
// Colors.blue[600],
// Colors.blue[700],
// Colors.blue[800],
// Colors.blue[900],
// ];
//
// @override
// Widget build(BuildContext context) {
// return Container(
// height: 200,
// child: Scrollable(
// viewportBuilder: (ctx, p) => Viewport(offset: p,
// slivers: <Widget>[
//
// ],
// ),
// ),
// );
// }
//
// Column buildColumn() {
// return Column(
// children: data
// .map((color) => Container(
// alignment: Alignment.center,
// height: 50,
// color: color,
// child: Text(
// colorString(color),
// style: TextStyle(color: Colors.white, shadows: [
// Shadow(
// color: Colors.black,
// offset: Offset(.5, .5),
// blurRadius: 2)
// ]),
// ),
// ))
// .toList(),
// );
// }
//
// String colorString(Color color) =>
// "#${color.value.toRadixString(16).padLeft(8, '0').toUpperCase()}";
//}