-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BU-passport-art: add login_page_demo.dart to test
- Loading branch information
Showing
1 changed file
with
280 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,280 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class MyCustomPage extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
body: SafeArea( | ||
child: SingleChildScrollView( | ||
child: Column( | ||
children: [ | ||
Column( | ||
children: [ | ||
Container( | ||
width: 393, | ||
height: 635, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(20), | ||
color: Colors.white) | ||
), | ||
Container( | ||
width: 299, | ||
height: 43.88990783691406, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(4.571865558624268)) | ||
), | ||
Container( | ||
width: 244.1376190185547, | ||
height: 43.88990783691406, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(66.74923706054688), | ||
color: Color(0xffcc0000)) | ||
), | ||
Container( | ||
width: 299, | ||
height: 43.88990783691406, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(4.571865558624268)) | ||
), | ||
Image.asset( | ||
"assets/Ellipse 3.png", | ||
width: 68.7316665649414, | ||
height: 68.7316665649414, | ||
), | ||
Image.asset( | ||
"assets/Ellipse 4.png", | ||
width: 68.7316665649414, | ||
height: 68.7316665649414, | ||
), | ||
Text( | ||
"Log in", | ||
style: TextStyle( | ||
fontSize: 22.323179244995117, | ||
fontWeight: FontWeith.w500, | ||
) | ||
), | ||
Text( | ||
"Email", | ||
style: TextStyle( | ||
fontSize: 14.927746772766113, | ||
fontWeight: FontWeith.w400, | ||
) | ||
), | ||
Text( | ||
"Password", | ||
style: TextStyle( | ||
fontSize: 14.927746772766113, | ||
fontWeight: FontWeith.w400, | ||
) | ||
), | ||
Text( | ||
"Remember me", | ||
style: TextStyle( | ||
fontSize: 14.927746772766113, | ||
fontWeight: FontWeith.w500, | ||
) | ||
), | ||
Container( | ||
width: 20.116207122802734, | ||
height: 20.116207122802734, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(3.6574923992156982), | ||
color: Color(0xffcc0000)) | ||
), | ||
Container( | ||
width: 272.4831848144531, | ||
height: 0, | ||
), | ||
Container( | ||
width: 36.57492446899414, | ||
height: 36.57492446899414, | ||
decoration: BoxDecoration( | ||
color: Colors.white) | ||
), | ||
Text( | ||
"or", | ||
style: TextStyle( | ||
fontSize: 21.562299728393555, | ||
fontWeight: FontWeith.w400, | ||
) | ||
), | ||
Image.asset( | ||
"assets/Vector.png", | ||
width: 36.57492446899414, | ||
height: 37.489295959472656, | ||
), | ||
Column( | ||
children: [ | ||
Image.asset( | ||
"assets/Vector.png", | ||
width: 42.97553634643555, | ||
height: 34.746177673339844, | ||
) | ||
], | ||
), | ||
Text( | ||
"[email protected]", | ||
style: TextStyle( | ||
fontSize: 14.927746772766113, | ||
fontWeight: FontWeith.w400, | ||
) | ||
), | ||
Text( | ||
"123456", | ||
style: TextStyle( | ||
fontSize: 14.927746772766113, | ||
fontWeight: FontWeith.w400, | ||
) | ||
), | ||
Image.asset( | ||
"assets/Vector.png", | ||
width: 13, | ||
height: 10, | ||
), | ||
Text( | ||
"Don’t an account? Sign up", | ||
style: TextStyle( | ||
fontSize: 16.32566261291504, | ||
fontWeight: FontWeith.w400, | ||
) | ||
), | ||
Column( | ||
children: [ | ||
Container( | ||
width: 390, | ||
height: 42.007137298583984, | ||
decoration: BoxDecoration( | ||
color: Color(0x00d9d9d9)) | ||
), | ||
Stack(children: [ Container( | ||
width: 390, | ||
height: 42.007137298583984, | ||
decoration: BoxDecoration( | ||
color: Color(0x00d9d9d9)) | ||
), | ||
Column( | ||
children: [ | ||
Column( | ||
children: [ | ||
|
||
], | ||
), | ||
Row( | ||
children: [ | ||
Column( | ||
children: [ | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 2.681306838989258, | ||
height: 7.150151252746582, | ||
), | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 2.681306838989258, | ||
height: 5.362613677978516, | ||
), | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 2.681306838989258, | ||
height: 4.021960258483887, | ||
), | ||
Image.asset( | ||
"assets/Empty Bar.png", | ||
width: 2.681306838989258, | ||
height: 8.937688827514648, | ||
), | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 2.681306838989258, | ||
height: 7.150151252746582, | ||
), | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 2.681306838989258, | ||
height: 5.362613677978516, | ||
), | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 2.681306838989258, | ||
height: 4.021960258483887, | ||
) | ||
], | ||
), | ||
Column( | ||
children: [ | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 3.9074363708496094, | ||
height: 2.735301971435547, | ||
), | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 8.329747200012207, | ||
height: 2.962176561355591, | ||
), | ||
Image.asset( | ||
"assets/Path.png", | ||
width: 12.736207008361816, | ||
height: 3.8633952140808105, | ||
) | ||
], | ||
), | ||
Column( | ||
children: [ | ||
Image.asset( | ||
"assets/Rectangle 23.png", | ||
width: 0.8937689065933228, | ||
height: 3.575075626373291, | ||
), | ||
Image.asset( | ||
"assets/Rectangle 21 (Stroke).png", | ||
width: 20.556684494018555, | ||
height: 10.725227355957031, | ||
), | ||
Container( | ||
width: 16.981609344482422, | ||
height: 7.150151252746582, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(0.8937689065933228), | ||
color: Colors.black) | ||
) | ||
], | ||
) | ||
], | ||
), | ||
Column( | ||
children: [ | ||
|
||
], | ||
), | ||
Column( | ||
children: [ | ||
Column( | ||
children: [ | ||
Container( | ||
width: 25.40642547607422, | ||
height: 9.910884857177734, | ||
) | ||
], | ||
) | ||
], | ||
) | ||
], | ||
)],) | ||
], | ||
) | ||
], | ||
) | ||
], | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} | ||
|
||
Navigator.push( | ||
context, | ||
MaterialPageRoute(builder: (context) => MyCustomPage()), | ||
); | ||
|