Skip to content

Instantly share code, notes, and snippets.

@ibrajix
Created December 9, 2022 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibrajix/5c1e2063ce9ff33a95736dd403bc4816 to your computer and use it in GitHub Desktop.
Save ibrajix/5c1e2063ce9ff33a95736dd403bc4816 to your computer and use it in GitHub Desktop.
welcome_screen
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