[auto task] sort & format

hmxc
小赖 4 years ago
parent c6939e6a70
commit 1977601ec8

@ -6,13 +6,12 @@
import 'package:device_info_plus_web/device_info_plus_web.dart';
import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
// ignore: public_member_api_docs
void registerPlugins(Registrar registrar) {
DeviceInfoPlusPlugin.registerWith(registrar);

@ -1,5 +1,6 @@
import 'package:equatable/equatable.dart';
import 'package:json_annotation/json_annotation.dart';
part 'facility_type_detail_model.g.dart';
@JsonSerializable()

@ -1,10 +1,10 @@
import 'package:aku_community/ui/community/facility/pick_facility_page.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:aku_community/ui/community/facility/facility_appointment_view.dart';
import 'package:aku_community/ui/community/facility/pick_facility_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/tab_bar/bee_tab_bar.dart';

@ -1,5 +1,3 @@
import 'package:aku_community/models/facility/facility_type_detail_model.dart';
import 'package:aku_community/ui/community/facility/facility_type_detail_page.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
@ -11,7 +9,9 @@ import 'package:provider/provider.dart';
import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/constants/api.dart';
import 'package:aku_community/constants/app_theme.dart';
import 'package:aku_community/models/facility/facility_type_detail_model.dart';
import 'package:aku_community/provider/app_provider.dart';
import 'package:aku_community/ui/community/facility/facility_type_detail_page.dart';
import 'package:aku_community/ui/profile/house/pick_my_house_page.dart';
import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/utils/network/net_util.dart';
@ -69,8 +69,8 @@ class _FacilityPreorderPageState extends State<FacilityPreorderPage> {
width: 60.w,
),
onTap: () async {
FacilityTypeDetailModel? model =
await Get.to(() => FacilityTypeDetailPage(model: typeModel, id: widget.id));
FacilityTypeDetailModel? model = await Get.to(() =>
FacilityTypeDetailPage(model: typeModel, id: widget.id));
if (model != null) typeModel = model;
setState(() {});
},

@ -1,4 +1,3 @@
import 'package:aku_community/ui/community/facility/facility_preorder_page.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
@ -7,6 +6,7 @@ import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/constants/api.dart';
import 'package:aku_community/model/common/img_model.dart';
import 'package:aku_community/models/facility/facility_type_model.dart';
import 'package:aku_community/ui/community/facility/facility_preorder_page.dart';
import 'package:aku_community/utils/headers.dart';
class FacilityTypeCard extends StatelessWidget {

@ -1,12 +1,14 @@
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:aku_community/constants/api.dart';
import 'package:aku_community/models/facility/facility_type_detail_model.dart';
import 'package:aku_community/utils/network/base_model.dart';
import 'package:aku_community/utils/network/net_util.dart';
import 'package:aku_community/widget/bee_divider.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
class FacilityTypeDetailPage extends StatefulWidget {
final int id;

@ -1,7 +1,7 @@
import 'package:aku_community/base/base_style.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart';

@ -1,9 +1,10 @@
import 'package:aku_community/ui/market/goods/goods_detail_page.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/market/goods/goods_detail_page.dart';
import 'package:aku_community/utils/headers.dart';
import 'package:get/get.dart';
class GoodsCard extends StatelessWidget {
const GoodsCard({Key? key}) : super(key: key);

@ -1,6 +1,7 @@
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
class GoodsDetailPage extends StatefulWidget {
GoodsDetailPage({Key? key}) : super(key: key);

Loading…
Cancel
Save