Created
December 9, 2022 15:36
-
-
Save ibrajix/5c1e2063ce9ff33a95736dd403bc4816 to your computer and use it in GitHub Desktop.
welcome_screen
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
body: Container( | |
width: double.infinity, | |
height: double.infinity, | |
padding: const EdgeInsets.only(top: 50, right: 20, left: 20, bottom: 20), | |
child: Column( | |
crossAxisAlignment: CrossAxisAlignment.center, | |
children: [ | |
const Text( | |
Strings.nftMarketPlace, | |
style: TextStyle( | |
color: Colors.white, | |
fontSize: 24, | |
fontWeight: FontWeight.bold | |
), | |
), | |
Image.asset( | |
Images.lineImage, | |
), | |
const SizedBox(height: 80), | |
Image.asset( | |
Images.engImage, | |
scale: 1.2, | |
), | |
const SizedBox(height: 80), | |
const Text.rich( | |
TextSpan( | |
children: [ | |
TextSpan( | |
text: Strings.collect, | |
style: TextStyle( | |
fontSize: 25, | |
color: AppColors.mainYellow | |
), | |
), | |
TextSpan( | |
text: Strings.and, | |
style: TextStyle( | |
fontSize: 25, | |
color: Colors.white | |
), | |
), | |
TextSpan( | |
text: Strings.sell, | |
style: TextStyle( | |
fontSize: 25, | |
color: AppColors.mainYellow | |
), | |
), | |
], | |
), | |
), | |
const SizedBox(height: 10), | |
const Text( | |
Strings.digitalArts, | |
style: TextStyle( | |
fontSize: 25, | |
color: Colors.white | |
), | |
), | |
const SizedBox(height: 70), | |
ElevatedButton( | |
onPressed: () { | |
context.go(Destination.homeScreen); | |
}, | |
style: ElevatedButton.styleFrom( | |
backgroundColor: AppColors.mainYellow, | |
minimumSize: const Size(250, 50), | |
shape: RoundedRectangleBorder( | |
borderRadius: BorderRadius.circular(60), | |
), | |
), | |
child: const Text( | |
Strings.continueTxt, | |
style: TextStyle( | |
color: Colors.black, | |
fontWeight: FontWeight.w600 | |
), | |
) | |
) | |
], | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment