Icone-DecCard

This commit is contained in:
2021-05-26 17:45:26 -03:00
parent 1b564c824e
commit c44fcdddea
2 changed files with 30 additions and 25 deletions
+15 -15
View File
@@ -82,27 +82,27 @@ android {
signingConfig signingConfigs.debug
}
}
splits {
// splits {
//Configures multiple APKs based on ABI.
abi {
// //Configures multiple APKs based on ABI.
// abi {
//Enables building multiple APKs per ABI.
enable true
// //Enables building multiple APKs per ABI.
// enable true
//By default all ABIs are included, so use reset() and include to specify that we only
//want APKs for x86 and x86_64.
// //By default all ABIs are included, so use reset() and include to specify that we only
// //want APKs for x86 and x86_64.
//Resets the list of ABIs that Gradle should create APKs for to none.
reset()
// //Resets the list of ABIs that Gradle should create APKs for to none.
// reset()
//Specifies a list of ABIs that Gradle should create APKs for.
include "x86", "x86_64", "armeabi", "armeabi-v7a", "arm64-v8a"
// //Specifies a list of ABIs that Gradle should create APKs for.
// include "x86", "x86_64", "armeabi", "armeabi-v7a", "arm64-v8a"
//Specifies that we do not want to also generate a universal APK that includes all ABIs.
universalApk false
}
}
// //Specifies that we do not want to also generate a universal APK that includes all ABIs.
// universalApk false
// }
// }
}
flutter {
+12 -7
View File
@@ -6,9 +6,10 @@ import 'package:convex_bottom_bar/convex_bottom_bar.dart';
import 'package:decpisos/pdfviewer/pdfviewer.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:line_icons/line_icons.dart';
//import 'package:line_icons/line_icons.dart';
class IndexController extends GetxController with SingleGetTickerProviderMixin{
class IndexController extends GetxController with SingleGetTickerProviderMixin {
TabController tabController;
var tabs = List<TabItem>().obs;
var childrenTabs = List<Widget>().obs;
@@ -25,29 +26,33 @@ class IndexController extends GetxController with SingleGetTickerProviderMixin{
super.onClose();
}
void initTabs(){
void initTabs() {
//this.childrenTabs.add(YouTubeVideosScreen());
//this.childrenTabs.add(InstagramScreen());
this.childrenTabs.add(Tab(key: PageStorageKey('pdftab'), child:PDFViewerScreen()));
this
.childrenTabs
.add(Tab(key: PageStorageKey('pdftab'), child: PDFViewerScreen()));
this.childrenTabs.add(Tab(child: HomeScreen()));
this.childrenTabs.add(Tab(child: NotificacoesScreen()));
//this.tabs.add(TabItem(icon: Icons.video_collection, title: 'Vídeos'));
//this.tabs.add(TabItem(icon: LineIcons.instagram, title: 'Instagram'));
this.tabs.add(TabItem(icon: Icons.book_online, title: 'DecCard'));
this
.tabs
.add(TabItem(icon: LineIcons.identificationCard, title: 'DecCard'));
this.tabs.add(TabItem(icon: Icons.home, title: 'Home'));
this.tabs.add(TabItem(icon: Icons.notifications, title: 'Notificações'));
this.tabController = TabController(vsync: this, length: this.tabs.length);
}
void tabsWithoutVideos(){
void tabsWithoutVideos() {
this.childrenTabs.clear();
this.tabs.clear();
this.childrenTabs.add(HomeScreen());
this.childrenTabs.add(NotificacoesScreen());
this.tabs.add(TabItem(icon: Icons.home, title: 'Home'));
this.tabs.add(TabItem(icon: Icons.notifications, title: 'Notificações'));
this.tabController = new TabController(vsync: this, length: this.tabs.length);
this.tabController =
new TabController(vsync: this, length: this.tabs.length);
Get.rawSnackbar(message: 'Vídeos temporariamente indisponível');
}
}