12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- import 'package:flutter/material.dart';
- import 'package:flutter_screenutil/flutter_screenutil.dart';
-
- class OtherColumn extends StatelessWidget {
- const OtherColumn({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- return Container(
- alignment: Alignment.center,
- height: 123.w,
- width: 345.w,
- margin: EdgeInsets.fromLTRB(0, 15.w, 0, 15.w),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.circular(30),
- color: Colors.white,
- boxShadow: [
- BoxShadow(
- blurRadius: 10, //阴影范围
- spreadRadius: 0.1, //阴影浓度
- color: Colors.grey.withOpacity(0.2), //阴影颜色
- ),
- ],
- ),
- child: Column(
- children: [
- Container(
- margin: EdgeInsets.fromLTRB(0, 30.w, 0, 20.w),
- alignment: Alignment.topLeft,
- decoration: const BoxDecoration(
- border: Border(
- left: BorderSide(width: 5, color: Color(0xff000000)
- // 0x17000000
- ))),
- child: Padding(
- padding: EdgeInsets.fromLTRB(12.w, 0, 0, 0),
- child: Text(
- '地址信息',
- style: TextStyle(
- color: Color(0xff333333),
- fontWeight: FontWeight.bold,
- fontSize: 17.sp,
- ),
- ),
- )),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Container(
- child: Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Padding(
- padding: EdgeInsets.fromLTRB(17.w, 0, 10.w, 0),
- child: Image(
- image: AssetImage('images/aboutUs.png'),
- width: 17.w,
- height: 21.w,
- ),
- ),
- Container(
- width: 260,
- child: GestureDetector(
- child: Text(
- '请填写详细地址请填写详细地址请填写详细地址',
- softWrap: true,
- maxLines: 1,
- textAlign: TextAlign.left,
- overflow: TextOverflow.ellipsis,
- style: TextStyle(
- fontWeight: FontWeight.bold,
- fontSize: 17,
- ),
- ),
- onTap: () {
- print('修改地址');
- },
- ),
- )
- ],
- ),
- ),
- Container(
- alignment: Alignment.center,
- padding: EdgeInsets.fromLTRB(0, 0, 30.w, 0),
- child: Image(
- image: AssetImage('images/userRight.png'),
- width: 10.w,
- height: 18.w,
- ),
- ),
- ],
- ),
- ],
- ));
- }
- }
|