import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "Hello",
home: Scaffold(
appBar: AppBar(
title: const Text("HOME SCREEN"),
centerTitle: true,
),
backgroundColor: Colors.greenAccent,
body: const Center(
child: Text(
"Welcome to Flutter",
style: TextStyle(
fontSize: 30,
),
),
),
),
);
}
}