CS001305-3_APP-CARDS_STARTER

This commit is contained in:
2021-05-26 15:47:55 -03:00
parent ca0ec06c31
commit 1b564c824e
10 changed files with 267 additions and 8 deletions
+9 -6
View File
@@ -1,11 +1,12 @@
import 'package:decpisos/home/home.dart';
import 'package:decpisos/instagram_embed/instagram_embed.dart';
//import 'package:decpisos/instagram_embed/instagram_embed.dart';
import 'package:decpisos/notificacoes/notificacoes.dart';
//import 'package:decpisos/videos/youtube_videos.dart';
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{
TabController tabController;
@@ -26,11 +27,13 @@ class IndexController extends GetxController with SingleGetTickerProviderMixin{
void initTabs(){
//this.childrenTabs.add(YouTubeVideosScreen());
this.childrenTabs.add(InstagramScreen());
this.childrenTabs.add(HomeScreen());
this.childrenTabs.add(NotificacoesScreen());
//this.childrenTabs.add(InstagramScreen());
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: LineIcons.instagram, title: 'Instagram'));
this.tabs.add(TabItem(icon: Icons.book_online, 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);