import 'package:flutter/material.dart';

void main() {
runApp(MaterialApp(
home: SafeArea(
child: Scaffold(
appBar: AppBar(
backgroundColor: Colors.blue,
title: const Text("Tự học lập trình"),
),
body: const Mywidget()
)
),
debugShowCheckedModeBanner: false,
),
);
}

class Mywidget extends StatelessWidget{
const Mywidget({super.key});

@override
Widget build(BuildContext context) {
return const Card(
color: Colors.blue,
margin: EdgeInsets.fromLTRB(20, 20, 20, 20),
child: Padding(
padding: EdgeInsets.fromLTRB(30, 10, 10, 30),
child: Text("Trần Minh Thái",
style: TextStyle(
color: Colors.white,
fontSize: 30),)),
);
}
}