diff --git a/android/app/build.gradle b/android/app/build.gradle index 2504b46..8d5c074 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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 { diff --git a/lib/index/index_controller.dart b/lib/index/index_controller.dart index 5b94817..f248d13 100644 --- a/lib/index/index_controller.dart +++ b/lib/index/index_controller.dart @@ -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().obs; var childrenTabs = List().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); + this.tabController = TabController(vsync: this, length: this.tabs.length); } - void tabsWithoutVideos(){ + void tabsWithoutVideos() { this.childrenTabs.clear(); - this.tabs.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'); } - -} \ No newline at end of file +}