Bläddra i källkod

1、去除特效底部插件

tags/0.0.11+1^0
PH2 3 år sedan
förälder
incheckning
eafeb82157
2 ändrade filer med 5 tillägg och 6 borttagningar
  1. +4
    -5
      lib/pages/home_page/home_page.dart
  2. +1
    -1
      pubspec.yaml

+ 4
- 5
lib/pages/home_page/home_page.dart Visa fil

@@ -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 Visa fil

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


Laddar…
Avbryt
Spara