修改用户详情

master
张萌 3 years ago
parent 157ab88ea8
commit cdcbc40c7d

@ -3,128 +3,257 @@
/// FlutterGen /// FlutterGen
/// ***************************************************** /// *****************************************************
// ignore_for_file: directives_ordering,unnecessary_import
import 'package:flutter/widgets.dart'; import 'package:flutter/widgets.dart';
class $AssetsHomeGen { class $AssetsHomeGen {
const $AssetsHomeGen(); const $AssetsHomeGen();
/// File path: assets/home/app_alarm.png
AssetGenImage get appAlarm => AssetGenImage get appAlarm =>
const AssetGenImage('assets/home/app_alarm.png'); const AssetGenImage('assets/home/app_alarm.png');
/// File path: assets/home/bee_task.png
AssetGenImage get beeTask => const AssetGenImage('assets/home/bee_task.png'); AssetGenImage get beeTask => const AssetGenImage('assets/home/bee_task.png');
/// File path: assets/home/clock_in_out.png
AssetGenImage get clockInOut => AssetGenImage get clockInOut =>
const AssetGenImage('assets/home/clock_in_out.png'); const AssetGenImage('assets/home/clock_in_out.png');
/// File path: assets/home/device_alarm.png
AssetGenImage get deviceAlarm => AssetGenImage get deviceAlarm =>
const AssetGenImage('assets/home/device_alarm.png'); const AssetGenImage('assets/home/device_alarm.png');
/// File path: assets/home/facilities.png
AssetGenImage get facilities => AssetGenImage get facilities =>
const AssetGenImage('assets/home/facilities.png'); const AssetGenImage('assets/home/facilities.png');
/// File path: assets/home/fire_alarm.png
AssetGenImage get fireAlarm => AssetGenImage get fireAlarm =>
const AssetGenImage('assets/home/fire_alarm.png'); const AssetGenImage('assets/home/fire_alarm.png');
/// File path: assets/home/home_back.png
AssetGenImage get homeBack => AssetGenImage get homeBack =>
const AssetGenImage('assets/home/home_back.png'); const AssetGenImage('assets/home/home_back.png');
/// File path: assets/home/home_head.png
AssetGenImage get homeHead => AssetGenImage get homeHead =>
const AssetGenImage('assets/home/home_head.png'); const AssetGenImage('assets/home/home_head.png');
/// File path: assets/home/house_keeping.png
AssetGenImage get houseKeeping => AssetGenImage get houseKeeping =>
const AssetGenImage('assets/home/house_keeping.png'); const AssetGenImage('assets/home/house_keeping.png');
/// File path: assets/home/hygienice.png
AssetGenImage get hygienice => AssetGenImage get hygienice =>
const AssetGenImage('assets/home/hygienice.png'); const AssetGenImage('assets/home/hygienice.png');
/// File path: assets/home/ic_Patrol.png
AssetGenImage get icPatrol => AssetGenImage get icPatrol =>
const AssetGenImage('assets/home/ic_Patrol.png'); const AssetGenImage('assets/home/ic_Patrol.png');
/// File path: assets/home/ic_activity.png
AssetGenImage get icActivity => AssetGenImage get icActivity =>
const AssetGenImage('assets/home/ic_activity.png'); const AssetGenImage('assets/home/ic_activity.png');
/// File path: assets/home/ic_all.png
AssetGenImage get icAll => const AssetGenImage('assets/home/ic_all.png'); AssetGenImage get icAll => const AssetGenImage('assets/home/ic_all.png');
/// File path: assets/home/ic_article.png
AssetGenImage get icArticle => AssetGenImage get icArticle =>
const AssetGenImage('assets/home/ic_article.png'); const AssetGenImage('assets/home/ic_article.png');
/// File path: assets/home/ic_borrow.png
AssetGenImage get icBorrow => AssetGenImage get icBorrow =>
const AssetGenImage('assets/home/ic_borrow.png'); const AssetGenImage('assets/home/ic_borrow.png');
/// File path: assets/home/ic_decoration.png
AssetGenImage get icDecoration => AssetGenImage get icDecoration =>
const AssetGenImage('assets/home/ic_decoration.png'); const AssetGenImage('assets/home/ic_decoration.png');
/// File path: assets/home/ic_facilities.png
AssetGenImage get icFacilities => AssetGenImage get icFacilities =>
const AssetGenImage('assets/home/ic_facilities.png'); const AssetGenImage('assets/home/ic_facilities.png');
/// File path: assets/home/ic_greening.png
AssetGenImage get icGreening => AssetGenImage get icGreening =>
const AssetGenImage('assets/home/ic_greening.png'); const AssetGenImage('assets/home/ic_greening.png');
/// File path: assets/home/ic_news.png
AssetGenImage get icNews => const AssetGenImage('assets/home/ic_news.png'); AssetGenImage get icNews => const AssetGenImage('assets/home/ic_news.png');
/// File path: assets/home/ic_police.png
AssetGenImage get icPolice => AssetGenImage get icPolice =>
const AssetGenImage('assets/home/ic_police.png'); const AssetGenImage('assets/home/ic_police.png');
/// File path: assets/home/ic_scan.png
AssetGenImage get icScan => const AssetGenImage('assets/home/ic_scan.png'); AssetGenImage get icScan => const AssetGenImage('assets/home/ic_scan.png');
/// File path: assets/home/ic_search.png
AssetGenImage get icSearch => AssetGenImage get icSearch =>
const AssetGenImage('assets/home/ic_search.png'); const AssetGenImage('assets/home/ic_search.png');
/// File path: assets/home/ic_service.png
AssetGenImage get icService => AssetGenImage get icService =>
const AssetGenImage('assets/home/ic_service.png'); const AssetGenImage('assets/home/ic_service.png');
/// File path: assets/home/ic_visitors.png
AssetGenImage get icVisitors => AssetGenImage get icVisitors =>
const AssetGenImage('assets/home/ic_visitors.png'); const AssetGenImage('assets/home/ic_visitors.png');
/// File path: assets/home/interview.png
AssetGenImage get interview => AssetGenImage get interview =>
const AssetGenImage('assets/home/interview.png'); const AssetGenImage('assets/home/interview.png');
/// File path: assets/home/key.png
AssetGenImage get key => const AssetGenImage('assets/home/key.png'); AssetGenImage get key => const AssetGenImage('assets/home/key.png');
/// File path: assets/home/message.png
AssetGenImage get message => const AssetGenImage('assets/home/message.png'); AssetGenImage get message => const AssetGenImage('assets/home/message.png');
/// File path: assets/home/nearby_pet.png
AssetGenImage get nearbyPet => AssetGenImage get nearbyPet =>
const AssetGenImage('assets/home/nearby_pet.png'); const AssetGenImage('assets/home/nearby_pet.png');
/// File path: assets/home/nearby_service.png
AssetGenImage get nearbyService => AssetGenImage get nearbyService =>
const AssetGenImage('assets/home/nearby_service.png'); const AssetGenImage('assets/home/nearby_service.png');
/// File path: assets/home/package.png
AssetGenImage get package => const AssetGenImage('assets/home/package.png'); AssetGenImage get package => const AssetGenImage('assets/home/package.png');
/// File path: assets/home/provide_aged.png
AssetGenImage get provideAged => AssetGenImage get provideAged =>
const AssetGenImage('assets/home/provide_aged.png'); const AssetGenImage('assets/home/provide_aged.png');
/// File path: assets/home/rules.png
AssetGenImage get rules => const AssetGenImage('assets/home/rules.png'); AssetGenImage get rules => const AssetGenImage('assets/home/rules.png');
/// File path: assets/home/second_hand_market.png
AssetGenImage get secondHandMarket => AssetGenImage get secondHandMarket =>
const AssetGenImage('assets/home/second_hand_market.png'); const AssetGenImage('assets/home/second_hand_market.png');
/// File path: assets/home/share_park.png
AssetGenImage get sharePark => AssetGenImage get sharePark =>
const AssetGenImage('assets/home/share_park.png'); const AssetGenImage('assets/home/share_park.png');
/// File path: assets/home/shopping_mall.png
AssetGenImage get shoppingMall => AssetGenImage get shoppingMall =>
const AssetGenImage('assets/home/shopping_mall.png'); const AssetGenImage('assets/home/shopping_mall.png');
/// File path: assets/home/sos.png
AssetGenImage get sos => const AssetGenImage('assets/home/sos.png'); AssetGenImage get sos => const AssetGenImage('assets/home/sos.png');
} }
class $AssetsIconsGen { class $AssetsIconsGen {
const $AssetsIconsGen(); const $AssetsIconsGen();
/// File path: assets/icons/alarm_clock.png
AssetGenImage get alarmClock => AssetGenImage get alarmClock =>
const AssetGenImage('assets/icons/alarm_clock.png'); const AssetGenImage('assets/icons/alarm_clock.png');
/// File path: assets/icons/camera.png
AssetGenImage get camera => const AssetGenImage('assets/icons/camera.png'); AssetGenImage get camera => const AssetGenImage('assets/icons/camera.png');
/// File path: assets/icons/cancel_task.png
AssetGenImage get cancelTask => AssetGenImage get cancelTask =>
const AssetGenImage('assets/icons/cancel_task.png'); const AssetGenImage('assets/icons/cancel_task.png');
/// File path: assets/icons/clock_circle.png
AssetGenImage get clockCircle => AssetGenImage get clockCircle =>
const AssetGenImage('assets/icons/clock_circle.png'); const AssetGenImage('assets/icons/clock_circle.png');
/// File path: assets/icons/connect.png
AssetGenImage get connect => const AssetGenImage('assets/icons/connect.png'); AssetGenImage get connect => const AssetGenImage('assets/icons/connect.png');
/// File path: assets/icons/copy.png
AssetGenImage get copy => const AssetGenImage('assets/icons/copy.png'); AssetGenImage get copy => const AssetGenImage('assets/icons/copy.png');
/// File path: assets/icons/dissatisfied.png
AssetGenImage get dissatisfied => AssetGenImage get dissatisfied =>
const AssetGenImage('assets/icons/dissatisfied.png'); const AssetGenImage('assets/icons/dissatisfied.png');
/// File path: assets/icons/edit.png
AssetGenImage get edit => const AssetGenImage('assets/icons/edit.png'); AssetGenImage get edit => const AssetGenImage('assets/icons/edit.png');
/// File path: assets/icons/environment.png
AssetGenImage get environment => AssetGenImage get environment =>
const AssetGenImage('assets/icons/environment.png'); const AssetGenImage('assets/icons/environment.png');
/// File path: assets/icons/examining.png
AssetGenImage get examining => AssetGenImage get examining =>
const AssetGenImage('assets/icons/examining.png'); const AssetGenImage('assets/icons/examining.png');
/// File path: assets/icons/finish_order.png
AssetGenImage get finishOrder => AssetGenImage get finishOrder =>
const AssetGenImage('assets/icons/finish_order.png'); const AssetGenImage('assets/icons/finish_order.png');
/// File path: assets/icons/normal.png
AssetGenImage get normal => const AssetGenImage('assets/icons/normal.png'); AssetGenImage get normal => const AssetGenImage('assets/icons/normal.png');
/// File path: assets/icons/pass.png
AssetGenImage get pass => const AssetGenImage('assets/icons/pass.png'); AssetGenImage get pass => const AssetGenImage('assets/icons/pass.png');
/// File path: assets/icons/phone.png
AssetGenImage get phone => const AssetGenImage('assets/icons/phone.png'); AssetGenImage get phone => const AssetGenImage('assets/icons/phone.png');
/// File path: assets/icons/phone_circle.png
AssetGenImage get phoneCircle => AssetGenImage get phoneCircle =>
const AssetGenImage('assets/icons/phone_circle.png'); const AssetGenImage('assets/icons/phone_circle.png');
/// File path: assets/icons/record.png
AssetGenImage get record => const AssetGenImage('assets/icons/record.png'); AssetGenImage get record => const AssetGenImage('assets/icons/record.png');
/// File path: assets/icons/reject.png
AssetGenImage get reject => const AssetGenImage('assets/icons/reject.png'); AssetGenImage get reject => const AssetGenImage('assets/icons/reject.png');
/// File path: assets/icons/reward.png
AssetGenImage get reward => const AssetGenImage('assets/icons/reward.png'); AssetGenImage get reward => const AssetGenImage('assets/icons/reward.png');
/// File path: assets/icons/satisfied.png
AssetGenImage get satisfied => AssetGenImage get satisfied =>
const AssetGenImage('assets/icons/satisfied.png'); const AssetGenImage('assets/icons/satisfied.png');
/// File path: assets/icons/tag.png
AssetGenImage get tag => const AssetGenImage('assets/icons/tag.png'); AssetGenImage get tag => const AssetGenImage('assets/icons/tag.png');
/// File path: assets/icons/task_location.png
AssetGenImage get taskLocation => AssetGenImage get taskLocation =>
const AssetGenImage('assets/icons/task_location.png'); const AssetGenImage('assets/icons/task_location.png');
/// File path: assets/icons/watch.png
AssetGenImage get watch => const AssetGenImage('assets/icons/watch.png'); AssetGenImage get watch => const AssetGenImage('assets/icons/watch.png');
} }
class $AssetsInspectionGen { class $AssetsInspectionGen {
const $AssetsInspectionGen(); const $AssetsInspectionGen();
/// File path: assets/inspection/ic_date.png
AssetGenImage get icDate => AssetGenImage get icDate =>
const AssetGenImage('assets/inspection/ic_date.png'); const AssetGenImage('assets/inspection/ic_date.png');
/// File path: assets/inspection/ic_inspection_name.png
AssetGenImage get icInspectionName => AssetGenImage get icInspectionName =>
const AssetGenImage('assets/inspection/ic_inspection_name.png'); const AssetGenImage('assets/inspection/ic_inspection_name.png');
/// File path: assets/inspection/ic_pattern.png
AssetGenImage get icPattern => AssetGenImage get icPattern =>
const AssetGenImage('assets/inspection/ic_pattern.png'); const AssetGenImage('assets/inspection/ic_pattern.png');
/// File path: assets/inspection/ic_station.png
AssetGenImage get icStation => AssetGenImage get icStation =>
const AssetGenImage('assets/inspection/ic_station.png'); const AssetGenImage('assets/inspection/ic_station.png');
/// File path: assets/inspection/ic_way.png
AssetGenImage get icWay => AssetGenImage get icWay =>
const AssetGenImage('assets/inspection/ic_way.png'); const AssetGenImage('assets/inspection/ic_way.png');
/// File path: assets/inspection/ic_xunjian.png
AssetGenImage get icXunjian => AssetGenImage get icXunjian =>
const AssetGenImage('assets/inspection/ic_xunjian.png'); const AssetGenImage('assets/inspection/ic_xunjian.png');
/// File path: assets/inspection/inspection_station.png
AssetGenImage get inspectionStation => AssetGenImage get inspectionStation =>
const AssetGenImage('assets/inspection/inspection_station.png'); const AssetGenImage('assets/inspection/inspection_station.png');
} }
@ -132,72 +261,156 @@ class $AssetsInspectionGen {
class $AssetsManageGen { class $AssetsManageGen {
const $AssetsManageGen(); const $AssetsManageGen();
/// File path: assets/manage/add.png
AssetGenImage get add => const AssetGenImage('assets/manage/add.png'); AssetGenImage get add => const AssetGenImage('assets/manage/add.png');
/// File path: assets/manage/address.png
AssetGenImage get address => const AssetGenImage('assets/manage/address.png'); AssetGenImage get address => const AssetGenImage('assets/manage/address.png');
/// File path: assets/manage/article.png
AssetGenImage get article => const AssetGenImage('assets/manage/article.png'); AssetGenImage get article => const AssetGenImage('assets/manage/article.png');
/// File path: assets/manage/borrow.png
AssetGenImage get borrow => const AssetGenImage('assets/manage/borrow.png'); AssetGenImage get borrow => const AssetGenImage('assets/manage/borrow.png');
/// File path: assets/manage/check.png
AssetGenImage get check => const AssetGenImage('assets/manage/check.png'); AssetGenImage get check => const AssetGenImage('assets/manage/check.png');
/// File path: assets/manage/circuit.png
AssetGenImage get circuit => const AssetGenImage('assets/manage/circuit.png'); AssetGenImage get circuit => const AssetGenImage('assets/manage/circuit.png');
/// File path: assets/manage/clock.png
AssetGenImage get clock => const AssetGenImage('assets/manage/clock.png'); AssetGenImage get clock => const AssetGenImage('assets/manage/clock.png');
/// File path: assets/manage/decoration.png
AssetGenImage get decoration => AssetGenImage get decoration =>
const AssetGenImage('assets/manage/decoration.png'); const AssetGenImage('assets/manage/decoration.png');
/// File path: assets/manage/dingwei.png
AssetGenImage get dingwei => const AssetGenImage('assets/manage/dingwei.png'); AssetGenImage get dingwei => const AssetGenImage('assets/manage/dingwei.png');
/// File path: assets/manage/estate.png
AssetGenImage get estate => const AssetGenImage('assets/manage/estate.png'); AssetGenImage get estate => const AssetGenImage('assets/manage/estate.png');
/// File path: assets/manage/home.png
AssetGenImage get home => const AssetGenImage('assets/manage/home.png'); AssetGenImage get home => const AssetGenImage('assets/manage/home.png');
/// File path: assets/manage/ic_announce.png
AssetGenImage get icAnnounce => AssetGenImage get icAnnounce =>
const AssetGenImage('assets/manage/ic_announce.png'); const AssetGenImage('assets/manage/ic_announce.png');
/// File path: assets/manage/ic_car.png
AssetGenImage get icCar => const AssetGenImage('assets/manage/ic_car.png'); AssetGenImage get icCar => const AssetGenImage('assets/manage/ic_car.png');
/// File path: assets/manage/ic_daofang.png
AssetGenImage get icDaofang => AssetGenImage get icDaofang =>
const AssetGenImage('assets/manage/ic_daofang.png'); const AssetGenImage('assets/manage/ic_daofang.png');
/// File path: assets/manage/ic_guoqi.png
AssetGenImage get icGuoqi => AssetGenImage get icGuoqi =>
const AssetGenImage('assets/manage/ic_guoqi.png'); const AssetGenImage('assets/manage/ic_guoqi.png');
/// File path: assets/manage/ic_image.png
AssetGenImage get icImage => AssetGenImage get icImage =>
const AssetGenImage('assets/manage/ic_image.png'); const AssetGenImage('assets/manage/ic_image.png');
/// File path: assets/manage/ic_renwu.png
AssetGenImage get icRenwu => AssetGenImage get icRenwu =>
const AssetGenImage('assets/manage/ic_renwu.png'); const AssetGenImage('assets/manage/ic_renwu.png');
/// File path: assets/manage/ic_time.png
AssetGenImage get icTime => const AssetGenImage('assets/manage/ic_time.png'); AssetGenImage get icTime => const AssetGenImage('assets/manage/ic_time.png');
/// File path: assets/manage/ic_wancheng.png
AssetGenImage get icWancheng => AssetGenImage get icWancheng =>
const AssetGenImage('assets/manage/ic_wancheng.png'); const AssetGenImage('assets/manage/ic_wancheng.png');
/// File path: assets/manage/ic_weidao.png
AssetGenImage get icWeidao => AssetGenImage get icWeidao =>
const AssetGenImage('assets/manage/ic_weidao.png'); const AssetGenImage('assets/manage/ic_weidao.png');
/// File path: assets/manage/ic_zhuangxiu.png
AssetGenImage get icZhuangxiu => AssetGenImage get icZhuangxiu =>
const AssetGenImage('assets/manage/ic_zhuangxiu.png'); const AssetGenImage('assets/manage/ic_zhuangxiu.png');
/// File path: assets/manage/ic_zuofei.png
AssetGenImage get icZuofei => AssetGenImage get icZuofei =>
const AssetGenImage('assets/manage/ic_zuofei.png'); const AssetGenImage('assets/manage/ic_zuofei.png');
/// File path: assets/manage/info.png
AssetGenImage get info => const AssetGenImage('assets/manage/info.png'); AssetGenImage get info => const AssetGenImage('assets/manage/info.png');
/// File path: assets/manage/key.png
AssetGenImage get key => const AssetGenImage('assets/manage/key.png'); AssetGenImage get key => const AssetGenImage('assets/manage/key.png');
/// File path: assets/manage/location.png
AssetGenImage get location => AssetGenImage get location =>
const AssetGenImage('assets/manage/location.png'); const AssetGenImage('assets/manage/location.png');
/// File path: assets/manage/lock.png
AssetGenImage get lock => const AssetGenImage('assets/manage/lock.png'); AssetGenImage get lock => const AssetGenImage('assets/manage/lock.png');
/// File path: assets/manage/passed.png
AssetGenImage get passed => const AssetGenImage('assets/manage/passed.png'); AssetGenImage get passed => const AssetGenImage('assets/manage/passed.png');
/// File path: assets/manage/police.png
AssetGenImage get police => const AssetGenImage('assets/manage/police.png'); AssetGenImage get police => const AssetGenImage('assets/manage/police.png');
/// File path: assets/manage/rejected.png
AssetGenImage get rejected => AssetGenImage get rejected =>
const AssetGenImage('assets/manage/rejected.png'); const AssetGenImage('assets/manage/rejected.png');
/// File path: assets/manage/remaining.png
AssetGenImage get remaining => AssetGenImage get remaining =>
const AssetGenImage('assets/manage/remaining.png'); const AssetGenImage('assets/manage/remaining.png');
/// File path: assets/manage/security.png
AssetGenImage get security => AssetGenImage get security =>
const AssetGenImage('assets/manage/security.png'); const AssetGenImage('assets/manage/security.png');
/// File path: assets/manage/status.png
AssetGenImage get status => const AssetGenImage('assets/manage/status.png'); AssetGenImage get status => const AssetGenImage('assets/manage/status.png');
/// File path: assets/manage/submit_success.png
AssetGenImage get submitSuccess => AssetGenImage get submitSuccess =>
const AssetGenImage('assets/manage/submit_success.png'); const AssetGenImage('assets/manage/submit_success.png');
/// File path: assets/manage/wall.png
AssetGenImage get wall => const AssetGenImage('assets/manage/wall.png'); AssetGenImage get wall => const AssetGenImage('assets/manage/wall.png');
/// File path: assets/manage/warning.png
AssetGenImage get warning => const AssetGenImage('assets/manage/warning.png'); AssetGenImage get warning => const AssetGenImage('assets/manage/warning.png');
/// File path: assets/manage/waterway.png
AssetGenImage get waterway => AssetGenImage get waterway =>
const AssetGenImage('assets/manage/waterway.png'); const AssetGenImage('assets/manage/waterway.png');
/// File path: assets/manage/window.png
AssetGenImage get window => const AssetGenImage('assets/manage/window.png'); AssetGenImage get window => const AssetGenImage('assets/manage/window.png');
} }
class $AssetsMessageGen { class $AssetsMessageGen {
const $AssetsMessageGen(); const $AssetsMessageGen();
/// File path: assets/message/ic_area.png
AssetGenImage get icArea => const AssetGenImage('assets/message/ic_area.png'); AssetGenImage get icArea => const AssetGenImage('assets/message/ic_area.png');
/// File path: assets/message/ic_people.png
AssetGenImage get icPeople => AssetGenImage get icPeople =>
const AssetGenImage('assets/message/ic_people.png'); const AssetGenImage('assets/message/ic_people.png');
/// File path: assets/message/ic_phone.png
AssetGenImage get icPhone => AssetGenImage get icPhone =>
const AssetGenImage('assets/message/ic_phone.png'); const AssetGenImage('assets/message/ic_phone.png');
/// File path: assets/message/ic_pinglun.png
AssetGenImage get icPinglun => AssetGenImage get icPinglun =>
const AssetGenImage('assets/message/ic_pinglun.png'); const AssetGenImage('assets/message/ic_pinglun.png');
/// File path: assets/message/ic_star.png
AssetGenImage get icStar => const AssetGenImage('assets/message/ic_star.png'); AssetGenImage get icStar => const AssetGenImage('assets/message/ic_star.png');
/// File path: assets/message/ic_tongzhi.png
AssetGenImage get icTongzhi => AssetGenImage get icTongzhi =>
const AssetGenImage('assets/message/ic_tongzhi.png'); const AssetGenImage('assets/message/ic_tongzhi.png');
} }
@ -205,48 +418,89 @@ class $AssetsMessageGen {
class $AssetsNewIconGen { class $AssetsNewIconGen {
const $AssetsNewIconGen(); const $AssetsNewIconGen();
/// File path: assets/newIcon/avatar_placeholder.png
AssetGenImage get avatarPlaceholder => AssetGenImage get avatarPlaceholder =>
const AssetGenImage('assets/newIcon/avatar_placeholder.png'); const AssetGenImage('assets/newIcon/avatar_placeholder.png');
/// File path: assets/newIcon/splash.png
AssetGenImage get splash => const AssetGenImage('assets/newIcon/splash.png'); AssetGenImage get splash => const AssetGenImage('assets/newIcon/splash.png');
} }
class $AssetsOutdoorGen { class $AssetsOutdoorGen {
const $AssetsOutdoorGen(); const $AssetsOutdoorGen();
/// File path: assets/outdoor/ic_address.png
AssetGenImage get icAddress => AssetGenImage get icAddress =>
const AssetGenImage('assets/outdoor/ic_address.png'); const AssetGenImage('assets/outdoor/ic_address.png');
/// File path: assets/outdoor/ic_chuhu.png
AssetGenImage get icChuhu => AssetGenImage get icChuhu =>
const AssetGenImage('assets/outdoor/ic_chuhu.png'); const AssetGenImage('assets/outdoor/ic_chuhu.png');
/// File path: assets/outdoor/ic_goout.png
AssetGenImage get icGoout => AssetGenImage get icGoout =>
const AssetGenImage('assets/outdoor/ic_goout.png'); const AssetGenImage('assets/outdoor/ic_goout.png');
/// File path: assets/outdoor/ic_home.png
AssetGenImage get icHome => const AssetGenImage('assets/outdoor/ic_home.png'); AssetGenImage get icHome => const AssetGenImage('assets/outdoor/ic_home.png');
/// File path: assets/outdoor/ic_image.png
AssetGenImage get icImage => AssetGenImage get icImage =>
const AssetGenImage('assets/outdoor/ic_image.png'); const AssetGenImage('assets/outdoor/ic_image.png');
/// File path: assets/outdoor/ic_people.png
AssetGenImage get icPeople => AssetGenImage get icPeople =>
const AssetGenImage('assets/outdoor/ic_people.png'); const AssetGenImage('assets/outdoor/ic_people.png');
/// File path: assets/outdoor/ic_phoneblue.png
AssetGenImage get icPhoneblue => AssetGenImage get icPhoneblue =>
const AssetGenImage('assets/outdoor/ic_phoneblue.png'); const AssetGenImage('assets/outdoor/ic_phoneblue.png');
/// File path: assets/outdoor/ic_time.png
AssetGenImage get icTime => const AssetGenImage('assets/outdoor/ic_time.png'); AssetGenImage get icTime => const AssetGenImage('assets/outdoor/ic_time.png');
/// File path: assets/outdoor/ic_transport.png
AssetGenImage get icTransport => AssetGenImage get icTransport =>
const AssetGenImage('assets/outdoor/ic_transport.png'); const AssetGenImage('assets/outdoor/ic_transport.png');
/// File path: assets/outdoor/ic_weight.png
AssetGenImage get icWeight => AssetGenImage get icWeight =>
const AssetGenImage('assets/outdoor/ic_weight.png'); const AssetGenImage('assets/outdoor/ic_weight.png');
/// File path: assets/outdoor/item2.png
AssetGenImage get item2 => const AssetGenImage('assets/outdoor/item2.png'); AssetGenImage get item2 => const AssetGenImage('assets/outdoor/item2.png');
/// File path: assets/outdoor/item3.png
AssetGenImage get item3 => const AssetGenImage('assets/outdoor/item3.png'); AssetGenImage get item3 => const AssetGenImage('assets/outdoor/item3.png');
/// File path: assets/outdoor/itme1.png
AssetGenImage get itme1 => const AssetGenImage('assets/outdoor/itme1.png'); AssetGenImage get itme1 => const AssetGenImage('assets/outdoor/itme1.png');
} }
class $AssetsStaticFixGen { class $AssetsStaticFixGen {
const $AssetsStaticFixGen(); const $AssetsStaticFixGen();
/// File path: assets/static_fix/air1.png
AssetGenImage get air1 => const AssetGenImage('assets/static_fix/air1.png'); AssetGenImage get air1 => const AssetGenImage('assets/static_fix/air1.png');
/// File path: assets/static_fix/air2.png
AssetGenImage get air2 => const AssetGenImage('assets/static_fix/air2.png'); AssetGenImage get air2 => const AssetGenImage('assets/static_fix/air2.png');
/// File path: assets/static_fix/food.png
AssetGenImage get food => const AssetGenImage('assets/static_fix/food.png'); AssetGenImage get food => const AssetGenImage('assets/static_fix/food.png');
/// File path: assets/static_fix/food2.png
AssetGenImage get food2 => const AssetGenImage('assets/static_fix/food2.png'); AssetGenImage get food2 => const AssetGenImage('assets/static_fix/food2.png');
/// File path: assets/static_fix/light1.png
AssetGenImage get light1 => AssetGenImage get light1 =>
const AssetGenImage('assets/static_fix/light1.png'); const AssetGenImage('assets/static_fix/light1.png');
/// File path: assets/static_fix/light2.png
AssetGenImage get light2 => AssetGenImage get light2 =>
const AssetGenImage('assets/static_fix/light2.png'); const AssetGenImage('assets/static_fix/light2.png');
/// File path: assets/static_fix/light3.png
AssetGenImage get light3 => AssetGenImage get light3 =>
const AssetGenImage('assets/static_fix/light3.png'); const AssetGenImage('assets/static_fix/light3.png');
} }
@ -254,15 +508,30 @@ class $AssetsStaticFixGen {
class $AssetsStaticTempGen { class $AssetsStaticTempGen {
const $AssetsStaticTempGen(); const $AssetsStaticTempGen();
/// File path: assets/static_temp/drill.png
AssetGenImage get drill => AssetGenImage get drill =>
const AssetGenImage('assets/static_temp/drill.png'); const AssetGenImage('assets/static_temp/drill.png');
/// File path: assets/static_temp/f1.webp
AssetGenImage get f1 => const AssetGenImage('assets/static_temp/f1.webp'); AssetGenImage get f1 => const AssetGenImage('assets/static_temp/f1.webp');
/// File path: assets/static_temp/f2.webp
AssetGenImage get f2 => const AssetGenImage('assets/static_temp/f2.webp'); AssetGenImage get f2 => const AssetGenImage('assets/static_temp/f2.webp');
/// File path: assets/static_temp/f3.webp
AssetGenImage get f3 => const AssetGenImage('assets/static_temp/f3.webp'); AssetGenImage get f3 => const AssetGenImage('assets/static_temp/f3.webp');
/// File path: assets/static_temp/f4.webp
AssetGenImage get f4 => const AssetGenImage('assets/static_temp/f4.webp'); AssetGenImage get f4 => const AssetGenImage('assets/static_temp/f4.webp');
/// File path: assets/static_temp/f5.webp
AssetGenImage get f5 => const AssetGenImage('assets/static_temp/f5.webp'); AssetGenImage get f5 => const AssetGenImage('assets/static_temp/f5.webp');
/// File path: assets/static_temp/hammer.png
AssetGenImage get hammer => AssetGenImage get hammer =>
const AssetGenImage('assets/static_temp/hammer.png'); const AssetGenImage('assets/static_temp/hammer.png');
/// File path: assets/static_temp/ladder.png
AssetGenImage get ladder => AssetGenImage get ladder =>
const AssetGenImage('assets/static_temp/ladder.png'); const AssetGenImage('assets/static_temp/ladder.png');
} }
@ -270,9 +539,14 @@ class $AssetsStaticTempGen {
class $AssetsUserGen { class $AssetsUserGen {
const $AssetsUserGen(); const $AssetsUserGen();
/// File path: assets/user/ic_kefu.png
AssetGenImage get icKefu => const AssetGenImage('assets/user/ic_kefu.png'); AssetGenImage get icKefu => const AssetGenImage('assets/user/ic_kefu.png');
/// File path: assets/user/ic_person.png
AssetGenImage get icPerson => AssetGenImage get icPerson =>
const AssetGenImage('assets/user/ic_person.png'); const AssetGenImage('assets/user/ic_person.png');
/// File path: assets/user/ic_setup.png
AssetGenImage get icSetup => const AssetGenImage('assets/user/ic_setup.png'); AssetGenImage get icSetup => const AssetGenImage('assets/user/ic_setup.png');
} }

@ -3,8 +3,11 @@
/// FlutterGen /// FlutterGen
/// ***************************************************** /// *****************************************************
// ignore_for_file: directives_ordering,unnecessary_import
class FontFamily { class FontFamily {
FontFamily._(); FontFamily._();
/// Font family: Bebas
static const String bebas = 'Bebas'; static const String bebas = 'Bebas';
} }

@ -91,21 +91,21 @@ class _NewHomePageState extends State<NewHomePage> {
), ),
), ),
24.w.widthBox, 24.w.widthBox,
SizedBox( //TODO
height: 40.w, // SizedBox(
width: 40.w, // height: 40.w,
child: IconButton( // width: 40.w,
padding:EdgeInsets.zero, // child: IconButton(
onPressed: () { // padding:EdgeInsets.zero,
Get.to(() => Message()); // onPressed: () {
}, // Get.to(() => Message());
icon: Icon( // },
CupertinoIcons.bell, // icon: Icon(
size: 40.w, // CupertinoIcons.bell,
), // size: 40.w,
), // ),
), // ),
// )
24.w.widthBox, 24.w.widthBox,
], ],
), ),
@ -435,7 +435,7 @@ class _NewHomePageState extends State<NewHomePage> {
borderRadius: BorderRadius.circular(4.w), borderRadius: BorderRadius.circular(4.w),
), ),
child: child:
'${UserTool.userProvider.userInfoModel!.positionName}' '${UserTool.userProvider.userInfoModel!.positionName??''}'
.text .text
.size(24.sp) .size(24.sp)
.color(Colors.black.withOpacity(0.85)) .color(Colors.black.withOpacity(0.85))

@ -1,4 +1,5 @@
import 'package:aku_new_community_manager/const/api.dart'; import 'package:aku_new_community_manager/const/api.dart';
import 'package:aku_new_community_manager/const/saas_api.dart';
import 'package:aku_new_community_manager/utils/network/net_util.dart'; import 'package:aku_new_community_manager/utils/network/net_util.dart';
import 'package:common_utils/common_utils.dart'; import 'package:common_utils/common_utils.dart';
import 'package:dio/dio.dart'; import 'package:dio/dio.dart';
@ -36,7 +37,7 @@ class MessageProvider extends ChangeNotifier {
} }
updateMessage() async { updateMessage() async {
Response response = await NetUtil().dio!.get(API.message.messageCenter); Response response = await NetUtil().dio!.get(SAASAPI.message.messageList);
if (response.data == null) return; if (response.data == null) return;
_sysMessage = response.data['sysCount'] ?? 0; _sysMessage = response.data['sysCount'] ?? 0;
_commentMessage = response.data['commentCount'] ?? 0; _commentMessage = response.data['commentCount'] ?? 0;

@ -2,6 +2,53 @@
part of 'community_model.dart'; part of 'community_model.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class CommunityModelAdapter extends TypeAdapter<CommunityModel> {
@override
final int typeId = 7;
@override
CommunityModel read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return CommunityModel(
id: fields[0] as int,
name: fields[1] as String,
address: fields[2] as String,
addressDetails: fields[3] as String,
);
}
@override
void write(BinaryWriter writer, CommunityModel obj) {
writer
..writeByte(4)
..writeByte(0)
..write(obj.id)
..writeByte(1)
..write(obj.name)
..writeByte(2)
..write(obj.address)
..writeByte(3)
..write(obj.addressDetails);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is CommunityModelAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}
// ************************************************************************** // **************************************************************************
// JsonSerializableGenerator // JsonSerializableGenerator
// ************************************************************************** // **************************************************************************

@ -21,11 +21,11 @@ class UserInfoModel extends Equatable {
final String? lastLoginDate; final String? lastLoginDate;
final String? nickName; final String? nickName;
final String? address; final String? address;
final String entryDate; final String? entryDate;
final String? remake; final String? remake;
final List<ImgModel>? imgList; final List<ImgModel>? imgList;
final String communityName; final String communityName;
final String positionName; final String? positionName;
final int? workOrderJurisdiction; final int? workOrderJurisdiction;
String get sexValue { String get sexValue {

@ -22,12 +22,12 @@ UserInfoModel _$UserInfoModelFromJson(Map<String, dynamic> json) =>
lastLoginDate: json['lastLoginDate'] as String?, lastLoginDate: json['lastLoginDate'] as String?,
nickName: json['nickName'] as String?, nickName: json['nickName'] as String?,
address: json['address'] as String?, address: json['address'] as String?,
entryDate: json['entryDate'] as String, entryDate: json['entryDate'] as String?,
remake: json['remake'] as String?, remake: json['remake'] as String?,
imgList: (json['imgList'] as List<dynamic>?) imgList: (json['imgList'] as List<dynamic>?)
?.map((e) => ImgModel.fromJson(e as Map<String, dynamic>)) ?.map((e) => ImgModel.fromJson(e as Map<String, dynamic>))
.toList(), .toList(),
communityName: json['communityName'] as String, communityName: json['communityName'] as String,
positionName: json['positionName'] as String, positionName: json['positionName'] as String?,
workOrderJurisdiction: json['workOrderJurisdiction'] as int?, workOrderJurisdiction: json['workOrderJurisdiction'] as int?,
); );

@ -618,13 +618,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.11" version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
meta: meta:
dependency: transitive dependency: transitive
description: description:
@ -965,7 +958,7 @@ packages:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.8" version: "0.4.3"
time: time:
dependency: transitive dependency: transitive
description: description:

Loading…
Cancel
Save