import 'package:flutter/material.
dart';
class Home extends StatelessWidget {
const Home({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.blueGrey,
body: SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Container(
margin: EdgeInsets.only(top: 160),
alignment: Alignment.center,
child: Text(
"0",
style: TextStyle(
color: Colors.white,
fontSize: 100,
fontWeight: FontWeight.bold),
),
),
SizedBox(height: 20),
TextField(
style: TextStyle(
color: Colors.white,
fontSize: 15,
),
keyboardType: TextInputType.number,
decoration: InputDecoration(
label: Text(
"Enter the number",
style: TextStyle(color: Colors.white, fontSize: 20),
),
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.black, width: 2),
borderRadius: BorderRadius.circular(10),
),
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.black, width: 3),
),
),
),
SizedBox(
height: 100,
),
ElevatedButton(
style: ElevatedButton.styleFrom(primary: Colors.black),
onPressed: () {},
child: Text(
"Convert",
style: TextStyle(
color: Colors.white,
),
),
),
],
),
),
);
}
}