Created
May 16, 2020 12:59
-
-
Save prasadsunny1/f5c6beea609179aed56dfd247773c2dc to your computer and use it in GitHub Desktop.
Milestone 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
MaterialApp( | |
home: Scaffold( | |
appBar: AppBar( | |
title: Text("Profile page"), | |
), | |
body: Column( | |
children: [ | |
Container( | |
color: Colors.blue, | |
child: Column( | |
children: [ | |
Padding( | |
padding: EdgeInsets.all(8), | |
child: Row( | |
mainAxisAlignment: MainAxisAlignment.spaceAround, | |
children: [ | |
CircleAvatar( | |
child: Icon(Icons.call), | |
), | |
CircleAvatar( | |
child: Icon(Icons.call), | |
radius: 35, | |
), | |
CircleAvatar( | |
child: Icon(Icons.message), | |
), | |
], | |
), | |
), | |
Text( | |
"Sanni Prasad", | |
style: TextStyle( | |
fontSize: 30, | |
color: Colors.white | |
), | |
), | |
], | |
), | |
), | |
Text("Another child") | |
], | |
), | |
), | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment