Created
December 31, 2024 15:28
-
-
Save rayliverified/4f990763087c80c7c4afe32c59e7beac to your computer and use it in GitHub Desktop.
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
import 'package:flutter/material.dart'; | |
import 'package:google_fonts/google_fonts.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return const MaterialApp( | |
title: 'MyApp Demo', | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( | |
body: Main(), | |
), | |
); | |
} | |
} | |
class Main extends StatelessWidget { | |
const Main({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
width: 430, | |
height: 932, | |
clipBehavior: Clip.hardEdge, | |
decoration: const BoxDecoration( | |
color: Colors.white, | |
), | |
child: SizedBox( | |
width: double.infinity, | |
child: Stack( | |
clipBehavior: Clip.none, | |
children: [ | |
Positioned( | |
left: 0, | |
top: 0, | |
child: Container( | |
width: 430, | |
height: 932, | |
clipBehavior: Clip.hardEdge, | |
decoration: const BoxDecoration( | |
color: Colors.white, | |
), | |
), | |
), | |
Positioned( | |
left: 0, | |
top: 0, | |
child: Container( | |
width: 430, | |
height: 932, | |
clipBehavior: Clip.hardEdge, | |
decoration: const BoxDecoration( | |
color: Color(0xC6E3ECE4), | |
), | |
), | |
), | |
Positioned( | |
left: 69, | |
top: 465, | |
child: SizedBox( | |
width: 290, | |
child: Text( | |
'مرحباً بكم في تطبيق نُمو', | |
textAlign: TextAlign.center, | |
style: GoogleFonts.getFont( | |
'Almarai', | |
color: Colors.black, | |
fontSize: 24, | |
fontWeight: FontWeight.bold, | |
), | |
), | |
), | |
), | |
Positioned( | |
left: 62, | |
top: 615, | |
child: Image.network( | |
'https://storage.googleapis.com/codeless-app.appspot.com/uploads%2Fimages%2F0RkZBkmF_lKAtrcXmXF2%2Ff075aa61-2f6f-49ec-80af-5d2b375d6995.png', | |
width: 308, | |
height: 57, | |
fit: BoxFit.contain, | |
), | |
), | |
Positioned( | |
left: 86, | |
top: 626, | |
child: SizedBox( | |
width: 258, | |
height: 35, | |
child: Text( | |
'دخول الجهات الحكومية', | |
textAlign: TextAlign.center, | |
style: GoogleFonts.getFont( | |
'Almarai', | |
color: Colors.white, | |
fontSize: 24, | |
fontWeight: FontWeight.w800, | |
), | |
), | |
), | |
), | |
Positioned( | |
left: 59, | |
top: 725, | |
child: Image.network( | |
'https://storage.googleapis.com/codeless-app.appspot.com/uploads%2Fimages%2F0RkZBkmF_lKAtrcXmXF2%2F660c8b51-d9fc-41ba-bf9e-5cea5e9e2baf.png', | |
width: 308, | |
height: 57, | |
fit: BoxFit.contain, | |
), | |
), | |
Positioned( | |
left: 83, | |
top: 736, | |
child: SizedBox( | |
width: 258, | |
height: 35, | |
child: Text( | |
'دخول كَمُستخدم', | |
textAlign: TextAlign.center, | |
style: GoogleFonts.getFont( | |
'Almarai', | |
color: Colors.white, | |
fontSize: 24, | |
fontWeight: FontWeight.w800, | |
), | |
), | |
), | |
), | |
Positioned( | |
left: 25, | |
top: 67, | |
child: Image.network( | |
'https://firebasestorage.googleapis.com/v0/b/codeless-app.appspot.com/o/projects%2F0RkZBkmF_lKAtrcXmXF2%2Fbd1b913b4d97a6fcc837a15022dc4de7e8684c49NMU_Logo%201.png?alt=media&token=0bcc6bd6-263b-4999-9ab8-b319f248110a', | |
width: 369, | |
height: 381, | |
fit: BoxFit.cover, | |
), | |
), | |
Positioned( | |
left: 0, | |
top: 0, | |
child: Container( | |
width: 430, | |
height: 44, | |
clipBehavior: Clip.hardEdge, | |
decoration: const BoxDecoration( | |
color: Color(0xFF525452), | |
), | |
child: Stack( | |
clipBehavior: Clip.none, | |
children: [ | |
Positioned( | |
left: 22, | |
top: 14, | |
child: Image.network( | |
'https://storage.googleapis.com/codeless-app.appspot.com/uploads%2Fimages%2F0RkZBkmF_lKAtrcXmXF2%2Fe0722de4-3b54-414b-beff-576667ee724c.png', | |
width: 385, | |
height: 16, | |
fit: BoxFit.contain, | |
), | |
) | |
], | |
), | |
), | |
) | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment