From e1d75ff6baf8c28cdf7b8f927b9ff9ac4ad53f9e Mon Sep 17 00:00:00 2001 From: Arshadak04 <66543017+Arshadak04@users.noreply.github.com> Date: Mon, 7 Sep 2020 10:16:51 +0530 Subject: [PATCH] dart code for flutter --- XDiPhone6781.dart | 94 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 XDiPhone6781.dart diff --git a/XDiPhone6781.dart b/XDiPhone6781.dart new file mode 100644 index 0000000..b522e6f --- /dev/null +++ b/XDiPhone6781.dart @@ -0,0 +1,94 @@ +import 'package:flutter/material.dart'; +import './XDiPhone6782.dart'; +import 'package:adobe_xd/page_link.dart'; + +class XDiPhone6781 extends StatelessWidget { + XDiPhone6781({ + Key key, + }) : super(key: key); + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: const Color(0xffe2b289), + body: Stack( + children: [ + Transform.translate( + offset: Offset(38.0, 36.0), + child: Container( + width: 297.0, + height: 66.0, + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(33.0), + color: const Color(0xff6e6464), + border: Border.all(width: 1.0, color: const Color(0xff707070)), + ), + ), + ), + Transform.translate( + offset: Offset(139.0, 56.0), + child: Text( + 'viralbaba', + style: TextStyle( + fontFamily: 'Segoe UI', + fontSize: 20, + color: const Color(0xffbeb2b2), + fontWeight: FontWeight.w700, + ), + textAlign: TextAlign.left, + ), + ), + Transform.translate( + offset: Offset(77.0, 510.0), + child: PageLink( + links: [ + PageLinkInfo( + transition: LinkTransition.SlideLeft, + ease: Curves.easeOut, + duration: 0.3, + pageBuilder: () => XDiPhone6782(), + ), + ], + child: Container( + width: 226.0, + height: 109.0, + decoration: BoxDecoration( + color: const Color(0xff6e6464), + border: + Border.all(width: 1.0, color: const Color(0xff707070)), + ), + ), + ), + ), + Transform.translate( + offset: Offset(134.0, 532.0), + child: Text( + ' START \nEXPIORING', + style: TextStyle( + fontFamily: 'Segoe UI', + fontSize: 20, + color: const Color(0xffc6baba), + fontWeight: FontWeight.w700, + ), + textAlign: TextAlign.left, + ), + ), + Transform.translate( + offset: Offset(88.0, 200.0), + child: + // Adobe XD layer: 'bf46df66-4375-4bcf-…' (shape) + Container( + width: 200.0, + height: 200.0, + decoration: BoxDecoration( + image: DecorationImage( + image: const AssetImage(''), + fit: BoxFit.fill, + ), + ), + ), + ), + ], + ), + ); + } +}