inserido busca das disciplinas professores
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../componentes/drawer_custom.dart';
|
||||
import '../controllers/main_controllers.dart';
|
||||
import '../utils/dimensoes.dart';
|
||||
|
||||
class TelaHome extends StatefulWidget {
|
||||
List dados;
|
||||
@@ -11,19 +13,29 @@ class TelaHome extends StatefulWidget {
|
||||
@override
|
||||
State<TelaHome> createState() => _TelaHomeState();
|
||||
}
|
||||
|
||||
class _TelaHomeState extends State<TelaHome> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
MainControllers().salvarLog('HOME',widget.dados);
|
||||
super.initState();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
elevation: 0,
|
||||
backgroundColor: Colors.white,
|
||||
backgroundColor: Colors.white10,
|
||||
title: Image.asset("assets/images/rkmprof.png",width:Dimensoes.width*0.4,height: Dimensoes.height * 0.15),
|
||||
centerTitle: true,
|
||||
iconTheme: IconThemeData(color: Colors.black),
|
||||
),
|
||||
drawer: DrawerCustom(dados: widget.dados,),
|
||||
body: Center(
|
||||
child: Text('home'),
|
||||
child: Container(
|
||||
child: Image.asset("assets/images/rkmprof.png",width:Dimensoes.width,height: Dimensoes.height * 0.15,color: Colors.black.withOpacity(0.2),)
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user