Created
March 15, 2021 18:32
-
-
Save charlenopires/8fe40177c04469fe940bad53c80a924d to your computer and use it in GitHub Desktop.
Codigo do App do Grupo X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MaterialApp( | |
debugShowCheckedModeBanner: false, | |
title: "IMCApp", | |
home: MeuApp(), | |
)); | |
} | |
class MeuApp extends StatefulWidget { | |
@override | |
_MeuAppState createState() => _MeuAppState(); | |
} | |
class _MeuAppState extends State<MeuApp> { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text("IMCApp"), | |
centerTitle: true, | |
backgroundColor: Colors.purple[900], | |
), | |
backgroundColor: Colors.purple[800], | |
body: Column( | |
children: [ | |
Center(child: Text("Ola mundo"),) | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment