File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,12 +9,32 @@ class MyApp extends StatelessWidget {
99
1010 @override
1111 Widget build (BuildContext context) {
12- return const MaterialApp (
12+ return MaterialApp (
1313 debugShowCheckedModeBanner: false ,
14- home: Scaffold (
15- body: Center (
16- child: Text ('test' ),
17- ),
14+ theme: ThemeData (scaffoldBackgroundColor: const Color (0xFF2B2B2B )),
15+ home: const HomePage (),
16+ );
17+ }
18+ }
19+
20+ class HomePage extends StatelessWidget {
21+ const HomePage ({super .key});
22+
23+ @override
24+ Widget build (BuildContext context) {
25+ return Scaffold (
26+ body: Column (
27+ children: [
28+ Container (
29+ width: double .infinity,
30+ color: const Color (0xFF3A3A3A ),
31+ padding: const EdgeInsets .all (16 ),
32+ child: const CircleAvatar (
33+ radius: 36 ,
34+ backgroundImage: NetworkImage ('https://github.com/will-ch-h.png' ),
35+ ),
36+ ),
37+ ],
1838 ),
1939 );
2040 }
You can’t perform that action at this time.
0 commit comments