import 'package:flutter/material.dart'; import 'package:huixiang/utils/font_weight.dart'; import 'package:huixiang/view_widget/my_appbar.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import '../../view_widget/classic_header.dart'; import '../../view_widget/my_footer.dart'; class RequestRefund extends StatefulWidget { @override State createState() { return _RequestRefund(); } } class _RequestRefund extends State { final RefreshController refreshController = RefreshController(); @override void initState() { super.initState(); } @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Color(0xFFF8F8FA), appBar: MyAppBar( title: "申请退款", titleColor: Colors.black, background: Colors.white, leadingColor: Colors.black, brightness: Brightness.dark, ), body: SmartRefresher( controller: refreshController, enablePullDown: true, enablePullUp: false, header: MyHeader( color: Colors.white, ), footer: CustomFooter( builder: (context, mode) { return MyFooter(mode); }, ), onRefresh: () { }, physics: BouncingScrollPhysics(), scrollController: ScrollController(), child: SingleChildScrollView( physics: BouncingScrollPhysics(), child:Container( margin: EdgeInsets.only(top: 24.h,left: 16.w,right: 16.w), child:Column( children: [ Container( decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(8.w), boxShadow: [ BoxShadow( color: Color(0x0F06152E).withAlpha(12), offset: Offset(0, 2), blurRadius: 4, spreadRadius: 0, ), ], ), padding: EdgeInsets.only(top: 16.h,left: 16.w,right: 16.w,), child: Column( children: [ Row( children: [ Container( width: 2.w, height: 16.h, color: Color(0xFF30415B), margin: EdgeInsets.only(right:6.w), ), Text( "申请金额", style: TextStyle( color: Color(0xFF0D0D0D), fontSize: 16.sp, fontWeight: MyFontWeight.semi_bold, ), ), ], ), SizedBox(height:33.h,), ], ), ), ], ), ), ), ), ); } }