-1
import 'package:flutter/material.dart';
//import 'package:font_awesome_flutter/font_awesome_flutter.dart';
//import 'package:flutter/widgets.dart';
//import 'package:typicons_flutter/typicons_flutter.dart';
void main() async {
runApp(MaterialApp(
home: Home(),
theme: new ThemeData(
hintColor: Colors.white,
primaryColor: Colors.black,
),
));
}
class Home extends StatefulWidget {
Home({Key key}) : super(key: key);
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: Text(
"Calcular Cerveja",
style: TextStyle(color: Colors.white),
),
backgroundColor: Colors.orange,
centerTitle: true,
),
body: Container(
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: <Widget>[
Image.asset(
'assets/ber2.png',
width: 250.0,
height: 250.0,
),
Container(
padding: EdgeInsets.all(15.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: <Widget>[
Divider(),
TextField(
decoration: InputDecoration(
hintText: "Teste",
labelText: "teste",
border: OutlineInputBorder(),
),
),
],
),
),
],
),
),
);
}
}
Why are you giving personal bottom overflowed?