瀏覽代碼

1、去除特效底部插件

tags/0.0.11+1^0
PH2 3 年之前
父節點
當前提交
eafeb82157
共有 2 個文件被更改,包括 5 次插入6 次删除
  1. +4
    -5
      lib/pages/home_page/home_page.dart
  2. +1
    -1
      pubspec.yaml

+ 4
- 5
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<HomePage> with WidgetsBindingObserver, Ticker
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 {
if (model.requiredLogin == '1') {


+ 1
- 1
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:


Loading…
取消
儲存