embed_instagram
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import 'package:decpisos/home/home.dart';
|
||||
import 'package:decpisos/instagram_embed/instagram_embed.dart';
|
||||
import 'package:decpisos/notificacoes/notificacoes.dart';
|
||||
import 'package:decpisos/videos/youtube_videos.dart';
|
||||
//import 'package:decpisos/videos/youtube_videos.dart';
|
||||
import 'package:convex_bottom_bar/convex_bottom_bar.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:line_icons/line_icons.dart';
|
||||
|
||||
class IndexController extends GetxController with SingleGetTickerProviderMixin{
|
||||
TabController tabController;
|
||||
@@ -23,10 +25,12 @@ class IndexController extends GetxController with SingleGetTickerProviderMixin{
|
||||
}
|
||||
|
||||
void initTabs(){
|
||||
this.childrenTabs.add(YouTubeVideosScreen());
|
||||
//this.childrenTabs.add(YouTubeVideosScreen());
|
||||
this.childrenTabs.add(InstagramScreen());
|
||||
this.childrenTabs.add(HomeScreen());
|
||||
this.childrenTabs.add(NotificacoesScreen());
|
||||
this.tabs.add(TabItem(icon: Icons.video_collection, title: 'Vídeos'));
|
||||
//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.home, title: 'Home'));
|
||||
this.tabs.add(TabItem(icon: Icons.notifications, title: 'Notificações'));
|
||||
this.tabController = TabController(vsync: this, length: this.tabs.length);
|
||||
|
||||
Reference in New Issue
Block a user