Przeglądaj źródła

1、去除特效底部插件

tags/0.0.11+1^0
PH2 3 lat temu
rodzic
commit
eafeb82157
2 zmienionych plików z 5 dodań i 6 usunięć
  1. +4
    -5
      lib/pages/home_page/home_page.dart
  2. +1
    -1
      pubspec.yaml

+ 4
- 5
lib/pages/home_page/home_page.dart Wyświetl plik

@@ -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 Wyświetl plik

@@ -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:


Ładowanie…
Anuluj
Zapisz