0% found this document useful (0 votes)
10 views3 pages

100 Questions 2

This document is a Flutter application that displays a user profile with a circular avatar, name, and title. It includes contact information such as a phone number and email, presented within styled cards. The layout is designed using a column within a safe area, with specific styling for text and icons.

Uploaded by

Kumar Utsav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views3 pages

100 Questions 2

This document is a Flutter application that displays a user profile with a circular avatar, name, and title. It includes contact information such as a phone number and email, presented within styled cards. The layout is designed using a column within a safe area, with specific styling for text and icons.

Uploaded by

Kumar Utsav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 3

import 'package:flutter/material.

dart';

void main() {
runApp(MyApp());
}

class MyApp extends StatelessWidget {


@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.teal,
body: SafeArea(
child: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
CircleAvatar(
radius: 200.0,
backgroundImage:
AssetImage('images/profile.png'),
),
SizedBox(height: 20.0),
Text(
'Angela Yu',
textAlign: TextAlign.center,
style: TextStyle(
fontFamily: 'SixtyfourConvergence',
fontSize: 20.0,
color: Colors.green,
fontWeight: FontWeight.bold,
),
),
Text(
'FLUTTER DEVELOPER',
textAlign: TextAlign.center,
style: TextStyle(
fontFamily: 'Source Code Pro',
fontSize: 20.0,
color: Colors.teal[100],
letterSpacing: 2.5,
fontWeight: FontWeight.bold,
),
),
Card(
color: Colors.white,
margin: EdgeInsets.symmetric(
vertical: 10.0, horizontal:
25.0),
child: Padding(
padding: EdgeInsets.all(15.0),
child: Row(
children: <Widget>[
Icon(
Icons.add_shopping_cart,
size: 40.0,
),
SizedBox(width: 40.0),
Text(
"Tel: +918892979221",
style: TextStyle(
fontSize: 20,
fontFamily: 'Source Code
Pro',
),
)
],
),
)),
Card(
color: Colors.white,
margin: EdgeInsets.symmetric(
vertical: 10.0, horizontal:
25.0),
child: Padding(
padding: EdgeInsets.all(15.0),
child: Row(
children: <Widget>[
Icon(
Icons.email,
size: 40.0,
),
SizedBox(width: 40.0),
Text(
"Email:
avecutsav6@gmail.com",
style: TextStyle(
fontSize: 15,
fontFamily: 'Source Code
Pro',
),
)
],
),
))
],
),
))));
}
}

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy