import 'package:flutter/material.dart'; import 'package:qyuota/config/colors.dart'; import 'package:qyuota/config/images.dart'; import 'package:qyuota/config/text_style.dart'; class TransactionScreen extends StatefulWidget { const TransactionScreen({Key? key}) : super(key: key); @override State createState() => _TransactionScreenState(); } class _TransactionScreenState extends State { @override Widget build(BuildContext context) { return Scaffold( body: Stack( children: [ Column( children: [ Expanded( child: Container( color: ConstColors.primaryColor, child: Column( children: [ SizedBox(height: MediaQuery.of(context).padding.top + 15), Padding( padding: const EdgeInsets.only(left: 20, right: 20), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ InkWell( onTap: () { Navigator.pop(context); }, child: const Icon( Icons.arrow_back, color: ConstColors.whiteColor, ), ), Text( "Transaction", style: pSemiBold18.copyWith( fontSize: 20, color: ConstColors.whiteColor, ), ), const Icon( Icons.arrow_back, color: Colors.transparent, ), ], ), ), ], ), ), ), Expanded( flex: 2, child: Column( mainAxisAlignment: MainAxisAlignment.end, children: [ Text( "Need a help?", style: pSemiBold18.copyWith( fontSize: 14, color: ConstColors.skyColor, ), ), const SizedBox(height: 20), ], ), ), ], ), Padding( padding: const EdgeInsets.only(top: 90), child: Container( height: 348, decoration: const BoxDecoration( image: DecorationImage( image: AssetImage( DefaultImages.p15, ), ), ), ), ), ], ), ); } }