import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
home: Scaffold(
backgroundColor: Colors.teal,
body: SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
// crossAxisAlignment: CrossAxisAlignment.stretch,
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// verticalDirection: VerticalDirection.,
children: <Widget>[
CircleAvatar(
radius: 50,
backgroundImage: AssetImage("assets/images/me.jpg"),
),
Text(
'Deepjyoti Sam',
style: TextStyle(
fontFamily: 'Pacifico',
fontWeight: FontWeight.bold,
fontSize: 30.0,
color: Colors.white,
),
),
Text(
'FLUTTER DEVELOPER',
style: TextStyle(
fontFamily: 'assets/fonts/Ubuntu-Regular.ttf',
fontWeight: FontWeight.bold,
fontSize: 20.0,
color: Colors.teal.shade100,
letterSpacing: 2.0),
),
SizedBox(
height: 10.0,
width: 160.0,
child: Divider(
color: Colors.teal.shade100,
),
),
Card(
color: Colors.white,
margin: EdgeInsets.symmetric(horizontal: 30.0, vertical: 10.0),
elevation: 30.0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12)),
child: ListTile(
leading: Icon(
Icons.call,
color: Colors.teal.shade900,
),
title: Text(
'+91 7002 043 769',
style: TextStyle(
// fontWeight: FontWeight.bold,
fontSize: 20.0,
color: Colors.teal.shade900,
fontFamily: 'assets/fonts/Ubuntu-Regular.ttf',
),
),
),
),
Card(
elevation: 30.0,
color: Colors.white,
margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 30.0),
child: ListTile(
leading: Icon(
Icons.email,
color: Colors.teal.shade900,
),
title: Text(
style: TextStyle(
// fontWeight: FontWeight.bold,
fontSize: 18.0,
color: Colors.teal.shade900,
fontFamily: 'assets/fonts/Ubuntu-Regular.ttf',
),
),
),
),
Stack(
children: <Widget>[
Container(
color: Colors.pink,
height: 150.0,
// width: 150.0,
decoration: BoxDecoration(
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(10.0),
bottomRight: Radius.circular(10.0)
)
),
)
],
)
],
),
),
),
),
);
}