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.
47 lines
1.4 KiB
47 lines
1.4 KiB
import 'package:aku_community_manager/models/manager/facilities/facilities_inspect_report_page.dart';
|
|
import 'package:aku_community_manager/models/manager/facilities/facilities_map.dart';
|
|
import 'package:aku_community_manager/style/app_style.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:velocity_x/velocity_x.dart';
|
|
|
|
class FacilitiesCard extends StatefulWidget {
|
|
FacilitiesCard({Key key}) : super(key: key);
|
|
|
|
@override
|
|
_FacilitiesCardState createState() => _FacilitiesCardState();
|
|
}
|
|
|
|
class _FacilitiesCardState extends State<FacilitiesCard> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Row(
|
|
children: [
|
|
'户外2号篮球场'.text.color(kTextPrimaryColor).size(32.sp).bold.make(),
|
|
Spacer(),
|
|
'待检查'
|
|
.text
|
|
.color(FacilitiesMap.insepectColor[0])
|
|
.size(28.sp)
|
|
.bold
|
|
.make(),
|
|
],
|
|
),
|
|
],
|
|
)
|
|
.box
|
|
.width(double.infinity)
|
|
.withRounded(value: 8.w)
|
|
.color(Colors.white)
|
|
.padding(EdgeInsets.all(24.w))
|
|
.make()
|
|
.onInkTap(() {
|
|
Get.to(() => FacilitiesInspectReportPage());
|
|
});
|
|
}
|
|
}
|