Skip to content

Instantly share code, notes, and snippets.

@charlenopires
Created March 15, 2021 18:32
Show Gist options
  • Save charlenopires/8fe40177c04469fe940bad53c80a924d to your computer and use it in GitHub Desktop.
Save charlenopires/8fe40177c04469fe940bad53c80a924d to your computer and use it in GitHub Desktop.
Codigo do App do Grupo X
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