|
|
@ -8,8 +8,8 @@ import 'package:akuCommunity/base/base_style.dart';
|
|
|
|
import 'package:akuCommunity/utils/headers.dart';
|
|
|
|
import 'package:akuCommunity/utils/headers.dart';
|
|
|
|
|
|
|
|
|
|
|
|
class HouseInfo extends StatefulWidget {
|
|
|
|
class HouseInfo extends StatefulWidget {
|
|
|
|
final String title,subtitle;
|
|
|
|
final String title, subtitle;
|
|
|
|
HouseInfo({Key key,this.title,this.subtitle}) : super(key: key);
|
|
|
|
HouseInfo({Key key, this.title, this.subtitle}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
_HouseInfoState createState() => _HouseInfoState();
|
|
|
|
_HouseInfoState createState() => _HouseInfoState();
|
|
|
@ -19,45 +19,45 @@ class _HouseInfoState extends State<HouseInfo> {
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Container(
|
|
|
|
return Container(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
bottom: 32.w,
|
|
|
|
bottom: 32.w,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
border: Border(
|
|
|
|
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
|
|
|
|
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Row(
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Image.asset(
|
|
|
|
Image.asset(
|
|
|
|
AssetsImage.HOUSEATTESTATION,
|
|
|
|
AssetsImage.HOUSEATTESTATION,
|
|
|
|
height: 48.w,
|
|
|
|
height: 48.w,
|
|
|
|
width: 48.w,
|
|
|
|
width: 48.w,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(width: 20.w),
|
|
|
|
SizedBox(width: 20.w),
|
|
|
|
Column(
|
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
|
widget.title,
|
|
|
|
widget.title,
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: BaseStyle.fontSize32,
|
|
|
|
fontSize: BaseStyle.fontSize32,
|
|
|
|
color: BaseStyle.color474747,
|
|
|
|
color: BaseStyle.color474747,
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(height: 10.w),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
SizedBox(height: 10.w),
|
|
|
|
widget.subtitle,
|
|
|
|
Text(
|
|
|
|
style: TextStyle(
|
|
|
|
widget.subtitle,
|
|
|
|
fontSize: BaseStyle.fontSize32,
|
|
|
|
style: TextStyle(
|
|
|
|
color: BaseStyle.color474747,
|
|
|
|
fontSize: BaseStyle.fontSize32,
|
|
|
|
),
|
|
|
|
color: BaseStyle.color474747,
|
|
|
|
)
|
|
|
|
),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
);
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|