|
@@ -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') { |
|
|