diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6946bc2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 张风捷特烈 (toly) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 94a6e6b..0a47d84 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ### FlutterUnit apk 下载体验: -![](https://user-gold-cdn.xitu.io/2020/4/17/1718718571499768?w=300&h=390&f=png&s=22153) +![](https://user-gold-cdn.xitu.io/2020/4/18/1718a20ac5a16964?w=300&h=390&f=png&s=23054) --- @@ -191,7 +191,7 @@ feature " 支持详情页【相关链接的栈管理】, --- - - `2020-4-28` + - `2020-4-18` ``` feature " 小彩蛋: 【长按】底部栏【最左侧按钮】,打开左边菜单栏 diff --git a/lib/views/pages/navigation/unit_navigation.dart b/lib/views/pages/navigation/unit_navigation.dart index 891c113..dff4aa4 100644 --- a/lib/views/pages/navigation/unit_navigation.dart +++ b/lib/views/pages/navigation/unit_navigation.dart @@ -58,12 +58,12 @@ class _UnitNavigationState extends State { } Widget _buildSearchButton(Color color) { - return Builder( - builder: (context) => FloatingActionButton( - backgroundColor: color, - child: Icon(Icons.search), - onPressed: () => Navigator.of(context).pushNamed(Router.search), - )); + return FloatingActionButton( + elevation: 2, + backgroundColor: color, + child: Icon(Icons.search), + onPressed: () => Navigator.of(context).pushNamed(Router.search), + ); } _onTapNav(int index) {