Primeiro commit no ramo main
This commit is contained in:
30
lib/telas/tela_home.dart
Normal file
30
lib/telas/tela_home.dart
Normal file
@@ -0,0 +1,30 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../componentes/drawer_custom.dart';
|
||||
|
||||
class TelaHome extends StatefulWidget {
|
||||
List list;
|
||||
|
||||
TelaHome({
|
||||
required this.list
|
||||
});
|
||||
|
||||
@override
|
||||
State<TelaHome> createState() => _TelaHomeState();
|
||||
}
|
||||
|
||||
class _TelaHomeState extends State<TelaHome> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
elevation: 0,
|
||||
backgroundColor: Colors.white,
|
||||
iconTheme: IconThemeData(color: Colors.black),
|
||||
),
|
||||
drawer: DrawerCustom(usuario: widget.list[1]),
|
||||
body: Center(
|
||||
child: Text('home'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user