Browse Source

1、去除特效底部插件

tags/0.0.11+1^0
PH2 3 years ago
parent
commit
eafeb82157
2 changed files with 5 additions and 6 deletions
  1. +4
    -5
      lib/pages/home_page/home_page.dart
  2. +1
    -1
      pubspec.yaml

+ 4
- 5
lib/pages/home_page/home_page.dart View File

@@ -4,7 +4,6 @@ import 'dart:convert';
import 'dart:io'; import 'dart:io';


import 'package:cached_network_image/cached_network_image.dart'; 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/cupertino.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@@ -290,10 +289,10 @@ class _HomePageState extends State<HomePage> with WidgetsBindingObserver, Ticker
items: items); items: items);
} }


Widget createBottomNavigationBarNew(List<Map<String, dynamic>> tabs) {
return ConvexAppBar(items: null, initialActiveIndex: _currentIndex, style: TabStyle.titled,);
}
// Widget createBottomNavigationBarNew(List<Map<String, dynamic>> tabs) {
//
// return ConvexAppBar(items: null, initialActiveIndex: _currentIndex, style: TabStyle.titled,);
// }


Future<bool> _checkLimit(BaseTabModel model) async { Future<bool> _checkLimit(BaseTabModel model) async {
if (model.requiredLogin == '1') { if (model.requiredLogin == '1') {


+ 1
- 1
pubspec.yaml View File

@@ -61,7 +61,7 @@ dependencies:


flutter_user_agent: ^1.2.2 flutter_user_agent: ^1.2.2
# 特效底部 # 特效底部
convex_bottom_bar: ^2.7.1+2
# convex_bottom_bar: ^2.7.1+2


dev_dependencies: dev_dependencies:
flutter_test: flutter_test:


Loading…
Cancel
Save