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: