Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- void main() {
- runApp(MyApp());
- }
- class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- home: Container(
- decoration: BoxDecoration(
- gradient: LinearGradient(
- begin: Alignment.topCenter,
- end: Alignment.bottomCenter,
- stops: [0, 1],
- colors: [Colors.teal, Colors.blue[400]]),
- ),
- child: Scaffold(
- backgroundColor: Colors.transparent,
- body: SafeArea(
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- children: <Widget>[
- CircleAvatar(
- radius: 60.0,
- backgroundColor: Colors.red,
- backgroundImage: NetworkImage(
- 'https://scontent-lhr3-1.xx.fbcdn.net/v/t1.0-9/54727578_2190483284365480_8636337435845853184_o.jpg?_nc_cat=101&_nc_oc=AQmLoniZCw3QNBB8midwNoUw0a4cQ-jzNZgmDEf72l7_3dCCjECKaVmkzKzoWX94eow&_nc_ht=scontent-lhr3-1.xx&oh=10b6bc1b5322271e5b28c5c8500b0031&oe=5E9851C8'),
- ),
- Text(
- 'Wojciech Konury',
- style: TextStyle(
- fontFamily: 'Pacifico',
- fontSize: 40,
- fontWeight: FontWeight.bold,
- color: Colors.white),
- ),
- Text(
- 'FLUTTER DEVELOPER',
- style: TextStyle(
- fontFamily: 'Source Sans Pro',
- fontSize: 20.0,
- color: Colors.teal[100],
- fontWeight: FontWeight.bold,
- letterSpacing: 3.0,
- ),
- ),
- SizedBox(
- height: 20.0,
- width: 180.0,
- child: Divider(
- color: Colors.teal[100],
- ),
- ),
- Card(
- color: Colors.white,
- margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 25.0),
- child: ListTile(
- leading: Icon(
- Icons.phone,
- color: Colors.teal[900],
- ),
- title: Text(
- '+48 123 456 789',
- style: TextStyle(
- fontFamily: 'Source Sans Pro',
- fontSize: 20.0,
- color: Colors.teal[900],
- ),
- ),
- ),
- ),
- Card(
- color: Colors.white,
- margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 25.0),
- child: ListTile(
- leading: Icon(
- Icons.email,
- color: Colors.teal[900],
- ),
- title: Text(
- 'wojciechkonury@gmail.com',
- style: TextStyle(
- fontFamily: 'Source Sans Pro',
- fontSize: 20.0,
- color: Colors.teal[900],
- ),
- ),
- ),
- ),
- Card(
- color: Colors.white,
- margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 25.0),
- child: ListTile(
- leading: Icon(
- Icons.web,
- color: Colors.teal[900],
- ),
- title: Text(
- 'https://github.com/wojtek717',
- style: TextStyle(
- fontFamily: 'Source Sans Pro',
- fontSize: 20.0,
- color: Colors.teal[900],
- ),
- ),
- ),
- ),
- ],
- ),
- ),
- ),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement