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.

60 lines
1.8 KiB

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