-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathmain.dart
More file actions
72 lines (59 loc) · 1.61 KB
/
main.dart
File metadata and controls
72 lines (59 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Portfolio',
theme: ThemeData(
primarySwatch: Colors.blueGrey,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key? key}) : super(key: key);
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
// ignore: dead_code, dead_code
return Scaffold(
appBar: AppBar(
leading: IconButton(icon: const Icon(Icons.arrow_back_rounded),
onPressed: () {},
color: Colors.black,
),
elevation: 0,
backgroundColor: Colors.white,
),
body: Container(
height: 700,
width: double.infinity,
padding: EdgeInsets.all(15),
child: Column(children: [
Align(child: Text( ' Edit Profile ', style: TextStyle(fontSize: 26, fontWeight: FontWeight.w700,
),
), alignment: Alignment.centerLeft,
),
SizedBox(height: 20),
CircleAvatar(
backgroundImage: AssetImage('assets/meretta.jpg'),
// ignore: prefer_const_literals_to_create_immutables
Row(children: [
Text('LinkedIn'),
Spacer(),
Text('Meretta Suresh'),],
),
]),
),
);
}
}