Personal card
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(my_app());
}
class my_app extends StatelessWidget {
const my_app({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.teal,
/*appBar: AppBar(
title: Center(
child: Text('Shuvo'
)
),
),*/
//backgroundColor: Colors.black54,
body: SafeArea(
child: Center(
child: Column(
children: <Widget>[
CircleAvatar(
radius: 50,
backgroundImage: AssetImage('images/shuvo.jpg'),
),
Text('Md. Sohorafuzzaman',
style: TextStyle(
fontSize: 25,
fontWeight: FontWeight.bold,
),),
Text('APP DEVELOPER',
style: TextStyle(
fontSize: 20,
letterSpacing: 2.3,
fontFamily: ('monoton'),
),),
Container(
color: Colors.white,
margin: EdgeInsets.symmetric(horizontal: 20,vertical: 20),
padding: EdgeInsets.all(10),
child: Row(
children:<Widget> [
Icon(
Icons.phone,
size: 30,
color: Colors.lightGreen,
),
Text(' +8801778478735',
style: TextStyle(
fontSize: 20,
),),
],
)
),
Container(
color: Colors.white,
margin: EdgeInsets.symmetric(horizontal: 20,vertical: 20),
padding: EdgeInsets.all(10),
child: Row(
children:<Widget> [
Icon(
Icons.email,
size: 30,
color: Colors.lightGreen,
),
Text(' kronosbd82@gmail.com',
style: TextStyle(
fontSize: 20
),),
],
)
),
],
),
),
),
),
);
}
}
Comments
Post a Comment