From eafeb82157c81092f6dcfd0bc64e2c513eb2ee93 Mon Sep 17 00:00:00 2001 From: PH2 <1293456824@qq.com> Date: Fri, 2 Apr 2021 21:49:37 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=8E=BB=E9=99=A4=E7=89=B9=E6=95=88?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/home_page/home_page.dart | 9 ++++----- pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/pages/home_page/home_page.dart b/lib/pages/home_page/home_page.dart index 50c44e6..18123ef 100644 --- a/lib/pages/home_page/home_page.dart +++ b/lib/pages/home_page/home_page.dart @@ -4,7 +4,6 @@ import 'dart:convert'; import 'dart:io'; import 'package:cached_network_image/cached_network_image.dart'; -import 'package:convex_bottom_bar/convex_bottom_bar.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; @@ -290,10 +289,10 @@ class _HomePageState extends State with WidgetsBindingObserver, Ticker items: items); } - Widget createBottomNavigationBarNew(List> tabs) { - - return ConvexAppBar(items: null, initialActiveIndex: _currentIndex, style: TabStyle.titled,); - } + // Widget createBottomNavigationBarNew(List> tabs) { + // + // return ConvexAppBar(items: null, initialActiveIndex: _currentIndex, style: TabStyle.titled,); + // } Future _checkLimit(BaseTabModel model) async { if (model.requiredLogin == '1') { diff --git a/pubspec.yaml b/pubspec.yaml index ff623fe..2a380f1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -61,7 +61,7 @@ dependencies: flutter_user_agent: ^1.2.2 # 特效底部 - convex_bottom_bar: ^2.7.1+2 +# convex_bottom_bar: ^2.7.1+2 dev_dependencies: flutter_test: