Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:credical/components/appbar_header_style.dart';
- import 'package:credical/components/buttomLarge.dart';
- import 'package:credical/constants.dart';
- import 'package:credical/screens/transfer/components/exchange_container.dart';
- import 'package:credical/utile_size.dart';
- import 'package:flutter/material.dart';
- import 'package:flutter/services.dart';
- import 'package:flutter/src/widgets/container.dart';
- import 'package:flutter/src/widgets/framework.dart';
- import 'package:flutter_svg/flutter_svg.dart';
- class BodyTransfer extends StatefulWidget {
- const BodyTransfer({super.key});
- @override
- State<BodyTransfer> createState() => _BodyTransferState();
- }
- class _BodyTransferState extends State<BodyTransfer> {
- @override
- Widget build(BuildContext context) {
- SystemChrome.setSystemUIOverlayStyle(
- SystemUiOverlayStyle(
- statusBarColor: Colors.transparent,
- ),
- );
- SizeConfig().init(context);
- Size size = MediaQuery.of(context).size;
- return Column(
- children: [
- Container(
- height: size.height * 0.12,
- width: size.width,
- child: Center(
- child: Text(
- "Transfer",
- style: TextStyle(
- color: darkColor,
- fontSize: getProportionateScreenWidth(20),
- fontWeight: FontWeight.bold,
- ),
- ),
- ),
- ),
- // const AppbarHeaderStile(),
- Padding(
- padding: EdgeInsets.symmetric(
- horizontal: getProportionateScreenWidth(30.0)),
- child: Container(
- child: Stack(
- children: [
- Container(),
- Container(
- child: Column(
- children: [
- ExchangeContainer(),
- SizedBox(
- height: getProportionateScreenHeight(22),
- ),
- ExchangeContainer2(),
- ],
- ),
- ),
- Container(),
- Positioned(
- top: getProportionateScreenHeight(45),
- right: 0,
- left: 0,
- child: Container(
- padding: EdgeInsets.all(getProportionateScreenWidth(8)),
- height: getProportionateScreenHeight(45),
- width: getProportionateScreenHeight(45),
- decoration: const BoxDecoration(
- shape: BoxShape.circle,
- color: whiteColor,
- boxShadow: [
- BoxShadow(
- color: Colors.grey,
- blurRadius: 3,
- )
- ]),
- child: Center(
- child: Image.asset(
- "assets/transfer/two-way.png",
- color: blueColor,
- ),
- ),
- ),
- ),
- ],
- ),
- ),
- ),
- SizedBox(
- height: getProportionateScreenHeight(10),
- ),
- Container(
- margin: EdgeInsets.symmetric(
- horizontal: getProportionateScreenWidth(135),
- ),
- height: getProportionateScreenHeight(35),
- decoration: BoxDecoration(
- color: Color(0xffd7eaff),
- borderRadius: BorderRadius.circular(20),
- ),
- child: Center(
- child: Text("Rate: N39.55/"),
- ),
- ),
- Expanded(
- child: Padding(
- padding: EdgeInsets.only(
- bottom: getProportionateScreenHeight(100),
- ),
- child: Column(
- mainAxisAlignment: MainAxisAlignment.end,
- children: [
- Center(
- child: ButtomLarge(
- color: blue,
- press: () {},
- text: 'Proceed',
- textColor: whiteColor,
- borderColor: blue,
- ),
- ),
- ],
- ),
- ),
- )
- ],
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement