You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

101 lines
2.8 KiB

import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/view_widget/round_button.dart';
class WriteOffSuccessPage extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _WriteOffSuccessPage();
}
}
class _WriteOffSuccessPage extends State<WriteOffSuccessPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(
S.of(context).hexiaomaxiangqing,
style: TextStyle(
color: Colors.black,
fontWeight: FontWeight.bold,
fontSize: 18,
),
),
centerTitle: false,
backgroundColor: Color(0xFFFAFAFA),
elevation: 0,
leading: GestureDetector(
onTap: () {
Navigator.of(context).pop();
},
child: Container(
alignment: Alignment.centerRight,
margin: EdgeInsets.only(left: 10),
padding: EdgeInsets.all(6),
child: Icon(
Icons.arrow_back_ios,
color: Colors.black,
size: 24,
),
),
),
titleSpacing: 2,
leadingWidth: 56,
),
body: Container(
alignment: Alignment.center,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
SizedBox(
height: 46,
),
Image.asset(
"assets/image/icon_order_success.png",
width: 76,
height: 76,
fit: BoxFit.contain,
),
SizedBox(
height: 16,
),
Text(
S.of(context).hexiaochenggong,
style: TextStyle(
color: Color(0xFF353535),
fontSize: 21,
fontWeight: FontWeight.bold),
),
SizedBox(
height: 12,
),
Text(
S.of(context).dangqianshangpinduihuanhexiaoma,
style: TextStyle(
color: Color(0xFF727272),
fontSize: 12,
fontWeight: FontWeight.bold),
),
SizedBox(
height: 40,
),
Container(
margin: EdgeInsets.only(left: 20, right: 20),
child: RoundButton(
text: S.of(context).fanhuiduihuanlishi,
textColor: Colors.white,
backgroup: Color(0xFF32A060),
radius: 4,
fontWeight: FontWeight.bold,
fontSize: 16,
padding: EdgeInsets.only(top: 12, bottom: 12),
),
)
],
),
),
);
}
}