Bladeren bron

1、去除特效底部插件

tags/0.0.11+1^0
PH2 3 jaren geleden
bovenliggende
commit
eafeb82157
2 gewijzigde bestanden met toevoegingen van 5 en 6 verwijderingen
  1. +4
    -5
      lib/pages/home_page/home_page.dart
  2. +1
    -1
      pubspec.yaml

+ 4
- 5
lib/pages/home_page/home_page.dart Bestand weergeven

@@ -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 Bestand weergeven

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


Laden…
Annuleren
Opslaan