完成 住户入户登记审核模块

pull/1/head
张萌 3 years ago
parent f0e68608bb
commit 36d3c11a30

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

@ -5,8 +5,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
class AppTheme {
static ThemeData get theme {
return ThemeData(primarySwatch: Colors.blue).copyWith(
progressIndicatorTheme:
ProgressIndicatorThemeData(color: Color(0xFFFFD000)),
primaryColor: Color(0xFFFFD000),
accentColor: Color(0xFFFFD000),
textTheme: ThemeData.light().textTheme.copyWith(
headline3: TextStyle(
fontSize: 40.sp,
@ -115,6 +116,8 @@ class AppTheme {
),
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
dividerColor: Color(0xFFE8E8E8),
colorScheme:
ColorScheme.fromSwatch().copyWith(secondary: Color(0xFFFFD000)),
);
}
}

@ -2,6 +2,7 @@ part of 'sars_api.dart';
class _ProfileApi {
_MyHouse house = _MyHouse();
_MyFamily family = _MyFamily();
}
class _MyHouse {
@ -14,3 +15,14 @@ class _MyHouse {
//
String get applyRecord => '/app/user/myEstate/findAllMyEstateApply';
}
class _MyFamily {
///
String get myFamilyMember => '/app/user/myFamily/findCurrentMembers';
///
String get myFamilyExamine => '/app/user/myFamily/findCurrentUserApply';
////
String get myFamilyReview => '/app/user/myFamily/review';
}

@ -1154,6 +1154,9 @@ class $AssetsStaticGen {
AssetGenImage get carParkEmpty =>
const AssetGenImage('assets/static/car_park_empty.webp');
/// File path: assets/static/family.png
AssetGenImage get family => const AssetGenImage('assets/static/family.png');
/// File path: assets/static/house_auth_fail.webp
AssetGenImage get houseAuthFail =>
const AssetGenImage('assets/static/house_auth_fail.webp');

@ -0,0 +1,30 @@
import 'package:json_annotation/json_annotation.dart';
part 'my_family_examine_list_model.g.dart';
@JsonSerializable()
class MyFamilyExamineListModel {
final int estateId;
final String estateName;
final String unitName;
final String buildingName;
final String name;
final String tel;
final int status;
final int identity;
final String estateTypeName;
factory MyFamilyExamineListModel.fromJson(Map<String, dynamic> json) =>
_$MyFamilyExamineListModelFromJson(json);
const MyFamilyExamineListModel({
required this.estateId,
required this.estateName,
required this.unitName,
required this.buildingName,
required this.name,
required this.tel,
required this.status,
required this.identity,
required this.estateTypeName,
});
}

@ -0,0 +1,21 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'my_family_examine_list_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
MyFamilyExamineListModel _$MyFamilyExamineListModelFromJson(
Map<String, dynamic> json) =>
MyFamilyExamineListModel(
estateId: json['estateId'] as int,
estateName: json['estateName'] as String,
unitName: json['unitName'] as String,
buildingName: json['buildingName'] as String,
name: json['name'] as String,
tel: json['tel'] as String,
status: json['status'] as int,
identity: json['identity'] as int,
estateTypeName: json['estateTypeName'] as String,
);

@ -0,0 +1,40 @@
import 'package:json_annotation/json_annotation.dart';
part 'my_family_member_list_model.g.dart';
@JsonSerializable()
class MyFamilyMemberListModel {
final int estateId;
final String estateName;
final String unitName;
final String buildingName;
final List<Member> members;
final String estateTypeName;
factory MyFamilyMemberListModel.fromJson(Map<String, dynamic> json) =>
_$MyFamilyMemberListModelFromJson(json);
const MyFamilyMemberListModel({
required this.estateId,
required this.estateName,
required this.unitName,
required this.buildingName,
required this.members,
required this.estateTypeName,
});
}
@JsonSerializable()
class Member {
final int id;
final String name;
final int identity;
factory Member.fromJson(Map<String, dynamic> json) => _$MemberFromJson(json);
const Member({
required this.id,
required this.name,
required this.identity,
});
}

@ -0,0 +1,26 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'my_family_member_list_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
MyFamilyMemberListModel _$MyFamilyMemberListModelFromJson(
Map<String, dynamic> json) =>
MyFamilyMemberListModel(
estateId: json['estateId'] as int,
estateName: json['estateName'] as String,
unitName: json['unitName'] as String,
buildingName: json['buildingName'] as String,
members: (json['members'] as List<dynamic>)
.map((e) => Member.fromJson(e as Map<String, dynamic>))
.toList(),
estateTypeName: json['estateTypeName'] as String,
);
Member _$MemberFromJson(Map<String, dynamic> json) => Member(
id: json['id'] as int,
name: json['name'] as String,
identity: json['identity'] as int,
);

@ -9,13 +9,13 @@ import 'package:aku_new_community/provider/user_provider.dart';
import 'package:aku_new_community/ui/market/order/order_page.dart';
import 'package:aku_new_community/ui/profile/car/car_manage_page.dart';
import 'package:aku_new_community/ui/profile/car_parking/car_parking_page.dart';
import 'package:aku_new_community/ui/profile/new_house/my_family_page.dart';
import 'package:aku_new_community/ui/profile/new_house/my_house_page.dart';
import 'package:aku_new_community/utils/headers.dart';
import 'package:aku_new_community/widget/others/user_tool.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
@ -512,14 +512,20 @@ class _PersonalIndexState extends State<PersonalIndex>
mainAxisAlignment: MainAxisAlignment.center,
children: [
_function(
'我的房屋',
R.ASSETS_ICONS_ICON_MY_HOUSE_PNG,
() => MyHousePage(),
// () => HouseOwnersPage(
// identify: 4,
// ),
// userProvider.myHouses.first.communityName ??
''),
'我的房屋',
R.ASSETS_ICONS_ICON_MY_HOUSE_PNG,
() => MyHousePage(),
// () => HouseOwnersPage(
// identify: 4,
// ),
'${UserTool.userProvider.defaultHouse?.communityName ?? ''} '
'${UserTool.userProvider.defaultHouse?.buildingName ?? ''}'
'${UserTool.userProvider.defaultHouse?.unitName ?? ''}'
'${UserTool.userProvider.defaultHouse?.estateName ?? ''}',
),
36.hb,
_function('我的家庭', R.ASSETS_ICONS_ICON_MY_HOUSE_PNG,
() => MyFamilyPage(), ''),
36.hb,
_function('我的车位', R.ASSETS_ICONS_ICON_MY_CARSEAT_PNG,
() => CarParkingPage(), ''),

@ -69,9 +69,9 @@ class UserProvider extends ChangeNotifier {
BotToast.showText(text: '获取用户信息失败');
return false;
}
if (_userInfoModel != null && !kIsWeb && !Platform.isMacOS) {
SignFunc.checkNameAndAccount();
}
if (_userInfoModel != null && !kIsWeb && !Platform.isMacOS) {}
SignFunc.checkNameAndAccount();
notifyListeners();
return true;
@ -79,6 +79,15 @@ class UserProvider extends ChangeNotifier {
Future updateMyHouseInfo() async {
_myHouses = await SignFunc.getMyHouseInfo();
if (_myHouses.isEmpty) {
_defaultHouse = null;
} else {
for (var item in _myHouses) {
if (item.isDefault == 1) {
_defaultHouse = item;
}
}
}
notifyListeners();
}
@ -93,6 +102,9 @@ class UserProvider extends ChangeNotifier {
List<MyHouseModel> _myHouses = [];
List<MyHouseModel> get myHouses => _myHouses;
MyHouseModel? _defaultHouse;
MyHouseModel? get defaultHouse => _defaultHouse;
///
Future setSex(int sex) async {

@ -32,7 +32,11 @@ class _AddHousePageState extends State<AddHousePage> {
PickedHouseModel? _otherPickHouse;
TextEditingController _nameController = TextEditingController();
TextEditingController _telController = TextEditingController();
List<int> get manageEstateIds {
if (_otherPickHouse == null || _pickedHouses.first.house == null) {
return [];
}
if (_identify == Identify.OWNER) {
return _pickedHouses.map((e) => e.house!.id).toList();
} else {
@ -216,6 +220,10 @@ class _AddHousePageState extends State<AddHousePage> {
child: AddHouseButton(
text: '提交',
onTap: () async {
if (manageEstateIds.isEmpty) {
BotToast.showText(text: '请选择房屋');
return;
}
var cancel = BotToast.showLoading();
var base = await NetUtil().post(SARSAPI.profile.house.addHouse,
params: {

@ -0,0 +1,283 @@
import 'package:aku_new_community/constants/sars_api.dart';
import 'package:aku_new_community/extensions/widget_list_ext.dart';
import 'package:aku_new_community/gen/assets.gen.dart';
import 'package:aku_new_community/models/sars_model/my_house/my_family_examine_list_model.dart';
import 'package:aku_new_community/utils/bee_map.dart';
import 'package:aku_new_community/utils/enum/identify.dart';
import 'package:aku_new_community/utils/network/net_util.dart';
import 'package:aku_new_community/widget/bee_divider.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:velocity_x/velocity_x.dart';
class ExamineView extends StatefulWidget {
const ExamineView({Key? key}) : super(key: key);
@override
_ExamineViewState createState() => _ExamineViewState();
}
class _ExamineViewState extends State<ExamineView> {
List<MyFamilyExamineListModel> _examineModels = [];
int _currentIndex = 0;
List<String> _tabs = ['全部', '待审核', '同意', '驳回'];
EasyRefreshController _refreshController = EasyRefreshController();
ScrollController _listScroll = ScrollController();
@override
void dispose() {
_refreshController.dispose();
_listScroll.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Column(
children: [
Padding(
padding: EdgeInsets.symmetric(vertical: 24.w, horizontal: 32.w),
child: Row(
children: _tabs
.mapIndexed((e, index) => _tab(index, e))
.toList()
.sepWidget(),
),
),
Flexible(
child: EasyRefresh(
firstRefresh: true,
controller: _refreshController,
scrollController: _listScroll,
header: MaterialHeader(),
footer: MaterialFooter(),
onRefresh: () async {
var base = await NetUtil()
.get(SARSAPI.profile.family.myFamilyMember, params: {
'status': _currentIndex,
});
if (base.success) {
_examineModels = (base.data as List)
.map((e) => MyFamilyExamineListModel.fromJson(e))
.toList();
setState(() {});
}
},
child: ListView.separated(
shrinkWrap: true,
controller: _listScroll,
padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 24.w),
itemBuilder: (context, index) {
return _card(_examineModels[index]);
},
separatorBuilder: (_, __) {
return 24.w.heightBox;
},
itemCount: _examineModels.length,
),
)),
],
);
}
Widget _tab(int index, String title) {
return GestureDetector(
onTap: () {
_currentIndex = index;
_refreshController.callRefresh();
setState(() {});
},
child: Container(
padding: EdgeInsets.symmetric(horizontal: 24.w, vertical: 8.w),
decoration: BoxDecoration(
color: _currentIndex == index
? Color(0xFFFAC058).withOpacity(0.5)
: Colors.black.withOpacity(0.06),
borderRadius: BorderRadius.circular(30.w),
border: _currentIndex == index
? Border.all(color: Color(0xFFFAC058))
: Border(),
),
child: title.text
.size(28.sp)
.color(
Colors.black.withOpacity(_currentIndex == index ? 0.65 : 0.45))
.make(),
),
);
}
Widget _card(MyFamilyExamineListModel model) {
var info = Padding(
padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 32.w),
child: Column(
children: [
Row(
children: [
SizedBox(
width: 160.w,
child: '申请人'
.text
.size(28.sp)
.color(Colors.black.withOpacity(0.45))
.make(),
),
model.name.text.size(28.sp).black.make(),
],
),
24.w.heightBox,
Row(
children: [
SizedBox(
width: 160.w,
child: '申请身份'
.text
.size(28.sp)
.color(Colors.black.withOpacity(0.45))
.make(),
),
'${BeeMap.getIdentify(Identify.values[model.identity])}'
.text
.size(28.sp)
.black
.make(),
],
),
24.w.heightBox,
Row(
children: [
SizedBox(
width: 160.w,
child: '联系方式'
.text
.size(28.sp)
.color(Colors.black.withOpacity(0.45))
.make(),
),
model.tel.text.size(28.sp).black.make(),
],
)
],
),
);
return Stack(
children: [
Container(
width: double.infinity,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(8.w),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 24.w),
alignment: Alignment.centerLeft,
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: [
Color(0xFFFFEAC3).withOpacity(0.31),
Colors.white
])),
child:
'${model.buildingName}${model.unitName}${model.estateName}'
.text
.size(32.sp)
.color(Colors.black.withOpacity(0.85))
.bold
.make(),
),
Divider(
color: Colors.black.withOpacity(0.06),
height: 1.w,
),
info,
model.status == 1
? Column(
children: [
BeeDivider.horizontal(),
Padding(
padding: EdgeInsets.symmetric(
horizontal: 32.w, vertical: 24.w),
child: Row(
children: [
Spacer(),
MaterialButton(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(26.sp)),
elevation: 0,
minWidth: 116.w,
height: 52.w,
color: Color(0xFFFAC058),
onPressed: () async {
var base = await NetUtil().post(
SARSAPI.profile.family.myFamilyReview,
params: {
'operate': 1,
'estateReviewId': model.estateId,
});
if (base.success) {
_refreshController.callRefresh();
} else {
BotToast.showText(text: base.msg);
}
},
child: '通过'.text.size(28.sp).black.make(),
),
24.w.widthBox,
MaterialButton(
elevation: 0,
shape: RoundedRectangleBorder(
side: BorderSide(
color: Colors.black.withOpacity(0.25)),
borderRadius: BorderRadius.circular(26.sp)),
minWidth: 116.w,
height: 52.w,
color: Colors.white,
onPressed: () async {
var base = await NetUtil().post(
SARSAPI.profile.family.myFamilyReview,
params: {
'operate': 2,
'estateReviewId': model.estateId,
});
if (base.success) {
_refreshController.callRefresh();
} else {
BotToast.showText(text: base.msg);
}
},
child: '驳回'
.text
.size(28.sp)
.color(Colors.black.withOpacity(0.45))
.make(),
)
],
),
),
],
)
: SizedBox(),
],
),
),
if (model.status != 1)
Positioned(
right: 24.w,
top: 110.w,
child: Image.asset(model.status == 2
? Assets.icons.reject.path
: Assets.icons.pass.path),
width: 200.w,
height: 200.w,
)
],
);
}
}

@ -0,0 +1,145 @@
import 'package:aku_new_community/base/base_style.dart';
import 'package:aku_new_community/constants/sars_api.dart';
import 'package:aku_new_community/gen/assets.gen.dart';
import 'package:aku_new_community/models/sars_model/my_house/my_family_member_list_model.dart';
import 'package:aku_new_community/ui/profile/new_house/my_house_page.dart';
import 'package:aku_new_community/utils/bee_map.dart';
import 'package:aku_new_community/utils/enum/identify.dart';
import 'package:aku_new_community/utils/network/net_util.dart';
import 'package:aku_new_community/widget/bee_divider.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:velocity_x/velocity_x.dart';
class MemberView extends StatefulWidget {
const MemberView({Key? key}) : super(key: key);
@override
_MemberViewState createState() => _MemberViewState();
}
class _MemberViewState extends State<MemberView> {
List<MyFamilyMemberListModel> _memberModels = [];
@override
Widget build(BuildContext context) {
return EasyRefresh(
firstRefresh: true,
header: MaterialHeader(),
footer: MaterialFooter(),
onRefresh: () async {
var base = await NetUtil().get(SARSAPI.profile.family.myFamilyMember);
if (base.success) {
_memberModels = (base.data as List)
.map((e) => MyFamilyMemberListModel.fromJson(e))
.toList();
setState(() {});
}
},
child: _memberModels.isEmpty
? HouseEmptyWidget()
: ListView.separated(
padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 24.w),
itemBuilder: (context, index) {
return _card(_memberModels[index]);
},
separatorBuilder: (_, __) {
return 24.w.heightBox;
},
// itemCount: _memberModels.length,
itemCount: _memberModels.length,
),
);
}
Widget _card(MyFamilyMemberListModel model) {
return Container(
width: double.infinity,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(8.w),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 24.w),
child: '${model.buildingName}${model.unitName}${model.estateName}'
.text
.size(32.sp)
.color(Colors.black.withOpacity(0.85))
.bold
.make(),
),
BeeDivider.horizontal(),
Padding(
padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 32.w),
child: GridView.count(
crossAxisCount: 4,
children: [
...model.members
.map((e) => _avatar(Identify.values[e.identity], e.name))
.toList()
],
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
),
)
],
),
);
}
Widget _avatar(
Identify identify,
String name,
) {
return Column(
children: [
Stack(
clipBehavior: Clip.none,
fit: StackFit.passthrough,
children: [
Container(
width: 80.w,
height: 80.w,
clipBehavior: Clip.antiAlias,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(40.w),
border: Border.all(color: kPrimaryColor, width: 4.w)),
child: Assets.images.splashLogo.image(width: 80.w, height: 80.w),
),
Positioned(
bottom: -20.w,
left: -10.w,
child: Material(
color: Colors.white,
borderRadius: BorderRadius.circular(58.w),
clipBehavior: Clip.antiAlias,
child: Container(
width: 108.w,
height: 40.w,
alignment: Alignment.center,
padding: EdgeInsets.symmetric(horizontal: 10.w),
decoration: BoxDecoration(
color: Color(0xFFF1C87F).withOpacity(0.4),
),
child: '${BeeMap.getIdentify(identify)}'
.text
.size(22.sp)
.maxFontSize(22.sp)
.minFontSize(18.sp)
.stepGranularity(1.sp)
.color(Colors.black.withOpacity(0.85))
.make(),
),
))
],
),
26.w.heightBox,
name.text.size(28.sp).color(Colors.black.withOpacity(0.45)).make(),
],
);
}
}

@ -0,0 +1,154 @@
import 'package:aku_new_community/base/base_style.dart';
import 'package:aku_new_community/gen/assets.gen.dart';
import 'package:aku_new_community/ui/profile/new_house/examine_view.dart';
import 'package:aku_new_community/ui/profile/new_house/member_view.dart';
import 'package:aku_new_community/ui/profile/new_house/widgets/add_house_button.dart';
import 'package:aku_new_community/widget/bee_scaffold.dart';
import 'package:aku_new_community/widget/dialog/certification_dialog.dart';
import 'package:aku_new_community/widget/others/user_tool.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';
import 'add_house_page.dart';
class MyFamilyPage extends StatefulWidget {
const MyFamilyPage({Key? key}) : super(key: key);
@override
_MyFamilyPageState createState() => _MyFamilyPageState();
}
class _MyFamilyPageState extends State<MyFamilyPage>
with TickerProviderStateMixin {
late TabController _tabController;
List<String> _tabs = ['当前成员', '审核列表'];
@override
void initState() {
_tabController = TabController(length: _tabs.length, vsync: this);
_tabController.addListener(() {
if (_tabController.indexIsChanging) {
setState(() {});
}
});
super.initState();
}
@override
void dispose() {
_tabController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
var tab = Container(
width: double.infinity,
height: 108.w,
decoration: BoxDecoration(
color: Colors.white, borderRadius: BorderRadius.circular(40.w)),
child: TabBar(
controller: _tabController,
indicatorColor: kPrimaryColor,
indicatorPadding:
EdgeInsets.only(left: 25.w, right: 25.w, bottom: 16.w),
indicatorWeight: 4.w,
labelStyle: TextStyle(
color: Colors.black, fontWeight: FontWeight.bold, fontSize: 28.sp),
unselectedLabelStyle:
TextStyle(color: Colors.black.withOpacity(0.45), fontSize: 28.sp),
tabs: _tabs
.map((e) => Tab(
text: e,
))
.toList(),
),
);
return BeeScaffold(
title: '我的家庭',
extendBody: true,
body: Stack(
children: [
Container(
width: double.infinity,
height: double.infinity,
decoration: BoxDecoration(
image: DecorationImage(
alignment: Alignment.topRight,
scale: 3,
image: AssetImage(
Assets.static.family.path,
)),
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
Color(0xFFFFC37D),
Color(0xFFE28F2D),
]),
),
child: SafeArea(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
60.w.heightBox,
Padding(
padding: EdgeInsets.only(left: 32.w),
child: '${UserTool.userProvider.defaultHouse?.addressName ?? ''} '
'${UserTool.userProvider.defaultHouse?.communityName ?? ''}'
.text
.color(Colors.white)
.size(32.sp)
.make(),
),
55.w.heightBox,
Expanded(
child: Container(
width: double.infinity,
clipBehavior: Clip.antiAlias,
alignment: Alignment.topCenter,
decoration: BoxDecoration(
color: Color(0xFFF9F9F9),
borderRadius:
BorderRadius.vertical(top: Radius.circular(40.w))),
child: Column(
children: [
tab,
Expanded(
child: TabBarView(
controller: _tabController,
children: [
MemberView(),
ExamineView(),
],
))
],
),
)),
],
),
),
),
_tabController.index == 0
? Positioned(
bottom: 32.w,
right: 32.w,
left: 32.w,
child: AddHouseButton(
text: '添加房屋',
onTap: () async {
if (UserTool.userProvider.userInfoModel?.name == null) {
await Get.dialog(CertificationDialog());
} else {
Get.to(() => AddHousePage());
}
}),
)
: SizedBox(),
],
),
);
}
}

@ -36,7 +36,7 @@ class _MyHousePageState extends State<MyHousePage> {
],
body: SafeArea(
child: UserTool.userProvider.myHouses.isEmpty
? _emptyWidget()
? HouseEmptyWidget()
: ListView(
padding:
EdgeInsets.symmetric(horizontal: 32.w, vertical: 24.w),
@ -142,8 +142,15 @@ class _MyHousePageState extends State<MyHousePage> {
],
);
}
}
class HouseEmptyWidget extends StatelessWidget {
const HouseEmptyWidget({
Key? key,
}) : super(key: key);
Widget _emptyWidget() {
@override
Widget build(BuildContext context) {
return Center(
child: Column(
children: [

@ -1,4 +1,3 @@
import 'package:aku_new_community/base/base_style.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:velocity_x/velocity_x.dart';
@ -20,7 +19,7 @@ class AddHouseButton extends StatelessWidget {
return MaterialButton(
minWidth: 686.w,
height: 93.w,
color: hollow ? Colors.white : kPrimaryColor,
color: hollow ? Colors.white : Color(0xFFFAC058),
elevation: 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8.w),

@ -1,65 +1,16 @@
PODS:
- device_info_plus_macos (0.0.1):
- FlutterMacOS
- Firebase/CoreOnly (7.11.0):
- FirebaseCore (= 7.11.0)
- Firebase/Crashlytics (7.11.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 7.11.0)
- firebase_core (1.1.1):
- Firebase/CoreOnly (~> 7.11.0)
- FlutterMacOS
- firebase_crashlytics (2.0.3):
- Firebase/CoreOnly (~> 7.11.0)
- Firebase/Crashlytics (~> 7.11.0)
- firebase_core
- FlutterMacOS
- FirebaseCore (7.11.0):
- FirebaseCoreDiagnostics (~> 7.4)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- FirebaseCoreDiagnostics (7.11.0):
- GoogleDataTransport (~> 8.4)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- nanopb (~> 2.30908.0)
- FirebaseCrashlytics (7.11.0):
- FirebaseCore (~> 7.0)
- FirebaseInstallations (~> 7.0)
- GoogleDataTransport (~> 8.4)
- nanopb (~> 2.30908.0)
- PromisesObjC (~> 1.2)
- FirebaseInstallations (7.11.0):
- FirebaseCore (~> 7.0)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/UserDefaults (~> 7.0)
- PromisesObjC (~> 1.2)
- FlutterMacOS (1.0.0)
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- GoogleDataTransport (8.4.0):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30908.0)
- PromisesObjC (~> 1.2)
- GoogleUtilities/Environment (7.4.0):
- PromisesObjC (~> 1.2)
- GoogleUtilities/Logger (7.4.0):
- GoogleUtilities/Environment
- GoogleUtilities/UserDefaults (7.4.0):
- GoogleUtilities/Logger
- nanopb (2.30908.0):
- nanopb/decode (= 2.30908.0)
- nanopb/encode (= 2.30908.0)
- nanopb/decode (2.30908.0)
- nanopb/encode (2.30908.0)
- package_info (0.0.1):
- FlutterMacOS
- package_info_plus_macos (0.0.1):
- FlutterMacOS
- path_provider_macos (0.0.1):
- FlutterMacOS
- PromisesObjC (1.2.12)
- shared_preferences_macos (0.0.1):
- FlutterMacOS
- sqflite (0.0.2):
@ -70,8 +21,6 @@ PODS:
DEPENDENCIES:
- device_info_plus_macos (from `Flutter/ephemeral/.symlinks/plugins/device_info_plus_macos/macos`)
- firebase_core (from `Flutter/ephemeral/.symlinks/plugins/firebase_core/macos`)
- firebase_crashlytics (from `Flutter/ephemeral/.symlinks/plugins/firebase_crashlytics/macos`)
- FlutterMacOS (from `Flutter/ephemeral`)
- package_info (from `Flutter/ephemeral/.symlinks/plugins/package_info/macos`)
- package_info_plus_macos (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus_macos/macos`)
@ -82,24 +31,11 @@ DEPENDENCIES:
SPEC REPOS:
trunk:
- Firebase
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCrashlytics
- FirebaseInstallations
- FMDB
- GoogleDataTransport
- GoogleUtilities
- nanopb
- PromisesObjC
EXTERNAL SOURCES:
device_info_plus_macos:
:path: Flutter/ephemeral/.symlinks/plugins/device_info_plus_macos/macos
firebase_core:
:path: Flutter/ephemeral/.symlinks/plugins/firebase_core/macos
firebase_crashlytics:
:path: Flutter/ephemeral/.symlinks/plugins/firebase_crashlytics/macos
FlutterMacOS:
:path: Flutter/ephemeral
package_info:
@ -117,26 +53,15 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
device_info_plus_macos: 1ad388a1ef433505c4038e7dd9605aadd1e2e9c7
Firebase: c121feb35e4126c0b355e3313fa9b487d47319fd
firebase_core: 6db6207b18525075f0d6b639045f6752722836e9
firebase_crashlytics: 82416d5f310a4c1576e71797f653520af2da26a7
FirebaseCore: 907447d8917a4d3eb0cce2829c5a0ad21d90b432
FirebaseCoreDiagnostics: 68ad972f99206cef818230f3f3179d52ccfb7f8c
FirebaseCrashlytics: 272b675aa9d1e9bae1f9e1449fcc1f2cf6042806
FirebaseInstallations: a58d4f72ec5861840b84df489f2668d970df558a
FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
GoogleDataTransport: cd9db2180fcecd8da1b561aea31e3e56cf834aa7
GoogleUtilities: 284cddc7fffc14ae1907efb6f78ab95c1fccaedc
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
package_info: 6eba2fd8d3371dda2d85c8db6fe97488f24b74b2
package_info_plus_macos: f010621b07802a241d96d01876d6705f15e77c1c
path_provider_macos: a0a3fd666cb7cd0448e936fb4abad4052961002b
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
path_provider_macos: 160cab0d5461f0c0e02995469a98f24bdb9a3f1f
shared_preferences_macos: 480ce071d0666e37cef23fe6c702293a3d21799e
sqflite: a5789cceda41d54d23f31d6de539d65bb14100ea
url_launcher_macos: 45af3d61de06997666568a7149c1be98b41c95d4
PODFILE CHECKSUM: c7161fcf45d4fd9025dc0f48a76d6e64e52f8176
COCOAPODS: 1.10.1
COCOAPODS: 1.11.2

Loading…
Cancel
Save