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

100 Questions 2

The document is a Flutter application code that creates a simple user interface displaying a name and profession. It includes contact information in the form of a phone number and email, each presented within a card layout. The app uses various styling elements such as colors, fonts, and icons to enhance the visual presentation.

Uploaded by

Jesais Chourasia
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

The document is a Flutter application code that creates a simple user interface displaying a name and profession. It includes contact information in the form of a phone number and email, each presented within a card layout. The app uses various styling elements such as colors, fonts, and icons to enhance the visual presentation.

Uploaded by

Jesais Chourasia
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
home: Scaffold(
backgroulor: Colors.teal,
body: SafeArea(
child: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[

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:
[email protected]",
style: TextStyle(
fontSize: 15,
fontFamily: 'Source Code
Pro',
),
)
],
),
))
],
),
))));
}
}

You might also like