update facility page

hmxc
小赖 4 years ago
parent 0edf7c5a60
commit 0e92ca0133

@ -0,0 +1,7 @@
targets:
$default:
builders:
json_serializable:
options:
create_to_json: false
include_if_null: true

@ -88,6 +88,8 @@ class _User {
} }
class _Manager { class _Manager {
_Facility facility = _Facility();
/// ///
String get commiteeStaff => '/ownersCommittee/findAll'; String get commiteeStaff => '/ownersCommittee/findAll';
@ -288,3 +290,7 @@ class _Message {
///() ///()
String get allReadComment => '/user/message/allReadComment'; String get allReadComment => '/user/message/allReadComment';
} }
class _Facility {
String get type => '/user/facilitiesAppointment/findCategoryList';
}

@ -1,4 +1,5 @@
// import 'package:aku_community/widget/bee_scaffold.dart'; // import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/ui/community/facility/facility_appointment_page.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:aku_community/const/resource.dart'; import 'package:aku_community/const/resource.dart';
@ -14,7 +15,6 @@ import 'package:aku_community/pages/setting_page/settings_page.dart';
import 'package:aku_community/pages/things_page/fixed_submit_page.dart'; import 'package:aku_community/pages/things_page/fixed_submit_page.dart';
import 'package:aku_community/pages/visitor_access_page/visitor_access_page.dart'; import 'package:aku_community/pages/visitor_access_page/visitor_access_page.dart';
import 'package:aku_community/ui/community/activity/activity_list_page.dart'; import 'package:aku_community/ui/community/activity/activity_list_page.dart';
import 'package:aku_community/ui/community/facility/pick_facility_page.dart';
import 'package:aku_community/ui/home/application/all_application.dart'; import 'package:aku_community/ui/home/application/all_application.dart';
import 'package:aku_community/ui/manager/advice/advice_page.dart'; import 'package:aku_community/ui/manager/advice/advice_page.dart';
import 'package:aku_community/ui/manager/questionnaire/questionnaire_page.dart'; import 'package:aku_community/ui/manager/questionnaire/questionnaire_page.dart';
@ -74,7 +74,7 @@ List<AO> appObjects = [
// AO('装修管理', R.ASSETS_APPLICATIONS_DECORATION_PNG, FitupManagePage()), // AO('装修管理', R.ASSETS_APPLICATIONS_DECORATION_PNG, FitupManagePage()),
AO('借还管理', R.ASSETS_APPLICATIONS_BORROW_PNG, () => SelectBorrowReturnPage()), AO('借还管理', R.ASSETS_APPLICATIONS_BORROW_PNG, () => SelectBorrowReturnPage()),
AO('一键报警', R.ASSETS_APPLICATIONS_POLICE_PNG, () => AlarmPage()), AO('一键报警', R.ASSETS_APPLICATIONS_POLICE_PNG, () => AlarmPage()),
AO('设施预约', R.ASSETS_ICONS_TOOL_FACILITY_PNG, () => PickFacilityPage()), AO('设施预约', R.ASSETS_ICONS_TOOL_FACILITY_PNG, () => FacilityAppointmentPage()),
// AO( // AO(
// '小区教育', // '小区教育',
// R.ASSETS_IMAGES_PLACEHOLDER_WEBP, // R.ASSETS_IMAGES_PLACEHOLDER_WEBP,

@ -4,8 +4,10 @@
// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: lines_longer_than_80_chars
import 'package:device_info_plus_web/device_info_plus_web.dart';
import 'package:firebase_core_web/firebase_core_web.dart'; import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:image_picker_for_web/image_picker_for_web.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:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart'; import 'package:url_launcher_web/url_launcher_web.dart';
@ -13,8 +15,10 @@ import 'package:flutter_web_plugins/flutter_web_plugins.dart';
// ignore: public_member_api_docs // ignore: public_member_api_docs
void registerPlugins(Registrar registrar) { void registerPlugins(Registrar registrar) {
DeviceInfoPlusPlugin.registerWith(registrar);
FirebaseCoreWeb.registerWith(registrar); FirebaseCoreWeb.registerWith(registrar);
ImagePickerPlugin.registerWith(registrar); ImagePickerPlugin.registerWith(registrar);
PackageInfoPlugin.registerWith(registrar);
SharedPreferencesPlugin.registerWith(registrar); SharedPreferencesPlugin.registerWith(registrar);
UrlLauncherPlugin.registerWith(registrar); UrlLauncherPlugin.registerWith(registrar);
registrar.registerMessageHandler(); registrar.registerMessageHandler();

@ -0,0 +1,3 @@
# need migrate all models to generated models
[test](../models/README.md)

@ -0,0 +1,30 @@
import 'package:json_annotation/json_annotation.dart';
part 'facility_appointment_model.g.dart';
@JsonSerializable()
class FacilityAppointmentModel {
final int id;
final String code;
final String facilitiesName;
final int status;
final String address;
final String appointmentStartDate;
final String appointmentEndDate;
final String? nullifyReason;
final String? useEndDate;
FacilityAppointmentModel({
required this.id,
required this.code,
required this.facilitiesName,
required this.status,
required this.address,
required this.appointmentStartDate,
required this.appointmentEndDate,
required this.nullifyReason,
required this.useEndDate,
});
factory FacilityAppointmentModel.fromJson(Map<String, dynamic> json) =>
_$FacilityAppointmentModelFromJson(json);
}

@ -0,0 +1,22 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'facility_appointment_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
FacilityAppointmentModel _$FacilityAppointmentModelFromJson(
Map<String, dynamic> json) {
return FacilityAppointmentModel(
id: json['id'] as int,
code: json['code'] as String,
facilitiesName: json['facilitiesName'] as String,
status: json['status'] as int,
address: json['address'] as String,
appointmentStartDate: json['appointmentStartDate'] as String,
appointmentEndDate: json['appointmentEndDate'] as String,
nullifyReason: json['nullifyReason'] as String?,
useEndDate: json['useEndDate'] as String?,
);
}

@ -0,0 +1,31 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:aku_community/model/common/img_model.dart';
part 'facility_type_model.g.dart';
@JsonSerializable()
class FacilityTypeModel {
final int id;
final String name;
final String openStartDate;
final String openEndDate;
String get startDateStr => openStartDate.split(':').getRange(0, 2).join(':');
String get endDateStr => openEndDate.split(':').getRange(0, 2).join(':');
@JsonKey(name: 'num')
final int num_;
final List<ImgModel>? imgUrls;
FacilityTypeModel({
required this.id,
required this.name,
required this.openStartDate,
required this.openEndDate,
required this.num_,
required this.imgUrls,
});
factory FacilityTypeModel.fromJson(Map<String, dynamic> json) =>
_$FacilityTypeModelFromJson(json);
}

@ -0,0 +1,20 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'facility_type_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
FacilityTypeModel _$FacilityTypeModelFromJson(Map<String, dynamic> json) {
return FacilityTypeModel(
id: json['id'] as int,
name: json['name'] as String,
openStartDate: json['openStartDate'] as String,
openEndDate: json['openEndDate'] as String,
num_: json['num'] as int,
imgUrls: (json['imgUrls'] as List<dynamic>?)
?.map((e) => ImgModel.fromJson(e as Map<String, dynamic>))
.toList(),
);
}

@ -0,0 +1,39 @@
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/tab_bar/bee_tab_bar.dart';
import 'package:flutter/material.dart';
class FacilityAppointmentPage extends StatefulWidget {
FacilityAppointmentPage({Key? key}) : super(key: key);
@override
_FacilityAppointmentPageState createState() =>
_FacilityAppointmentPageState();
}
class _FacilityAppointmentPageState extends State<FacilityAppointmentPage>
with TickerProviderStateMixin {
late TabController _tabController;
@override
void initState() {
super.initState();
_tabController = TabController(length: 2, vsync: this);
}
@override
void dispose() {
_tabController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return BeeScaffold(
title: '设施预约',
appBarBottom: BeeTabBar(
controller: _tabController,
tabs: ['我的预约', '历史预约'],
),
body: SizedBox(),
);
}
}

@ -0,0 +1,16 @@
import 'package:flutter/material.dart';
class FacilityAppointmentView extends StatefulWidget {
FacilityAppointmentView({Key? key}) : super(key: key);
@override
_FacilityAppointmentViewState createState() =>
_FacilityAppointmentViewState();
}
class _FacilityAppointmentViewState extends State<FacilityAppointmentView> {
@override
Widget build(BuildContext context) {
return SizedBox();
}
}

@ -0,0 +1,91 @@
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:flutter/material.dart';
import 'package:aku_community/models/facility/facility_type_model.dart';
import 'package:aku_community/utils/headers.dart';
class FacilityTypeCard extends StatelessWidget {
final FacilityTypeModel model;
const FacilityTypeCard({Key? key, required this.model}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialButton(
padding: EdgeInsets.zero,
clipBehavior: Clip.antiAlias,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8.w),
),
child: Column(
children: [
FadeInImage.assetNetwork(
placeholder: R.ASSETS_IMAGES_PLACEHOLDER_WEBP,
image: API.image(ImgModel.first(model.imgUrls)),
height: 320.w,
width: double.infinity,
fit: BoxFit.cover,
),
24.hb,
Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
32.wb,
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
model.name,
style: TextStyle(
fontSize: 32.sp,
fontWeight: FontWeight.bold,
),
),
32.hb,
Row(
children: [
Text(
'开放时段',
style: TextStyle(
color: ktextSubColor,
fontSize: 22.sp,
),
),
Text(
'${model.startDateStr}-${model.endDateStr}',
style: TextStyle(
fontSize: 22.sp,
),
),
],
),
],
),
),
MaterialButton(
height: 52.w,
minWidth: 168.w,
padding: EdgeInsets.zero,
elevation: 0,
shape: StadiumBorder(),
color: kPrimaryColor,
onPressed: () {},
child: Text(
'填写预约',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 26.sp,
),
),
),
32.wb,
],
),
24.hb,
],
),
onPressed: () {},
);
}
}

@ -1,6 +1,12 @@
import 'package:aku_community/constants/api.dart';
import 'package:aku_community/pages/things_page/widget/bee_list_view.dart';
import 'package:aku_community/ui/community/facility/facility_type_card.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/models/facility/facility_type_model.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:aku_community/utils/headers.dart';
class PickFacilityPage extends StatefulWidget { class PickFacilityPage extends StatefulWidget {
PickFacilityPage({Key? key}) : super(key: key); PickFacilityPage({Key? key}) : super(key: key);
@ -10,10 +16,33 @@ class PickFacilityPage extends StatefulWidget {
} }
class _PickFacilityPageState extends State<PickFacilityPage> { class _PickFacilityPageState extends State<PickFacilityPage> {
final EasyRefreshController _refreshController = EasyRefreshController();
@override
void dispose() {
_refreshController.dispose();
super.dispose();
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return BeeScaffold( return BeeScaffold(
title: '选择设施', title: '选择设施',
body: BeeListView<FacilityTypeModel>(
path: API.manager.facility.type,
controller: _refreshController,
convert: (model) =>
model.tableList!.map((e) => FacilityTypeModel.fromJson(e)).toList(),
builder: (items) {
return ListView.separated(
padding: EdgeInsets.all(32.w),
itemBuilder: (context, index) {
return FacilityTypeCard(model: items[index]);
},
separatorBuilder: (context, index) => 32.hb,
itemCount: items.length,
);
},
),
); );
} }
} }

@ -87,7 +87,8 @@ class NoticeCard extends StatelessWidget {
onTap: () { onTap: () {
BeeImagePreview.toPath( BeeImagePreview.toPath(
path: ImgModel.first(model.imgUrls), path: ImgModel.first(model.imgUrls),
tag: ImgModel.first(model.imgUrls), tag:
'${ImgModel.first(model.imgUrls)}${model.hashCode}',
); );
}, },
child: Container( child: Container(
@ -97,7 +98,8 @@ class NoticeCard extends StatelessWidget {
borderRadius: BorderRadius.circular(8.w), borderRadius: BorderRadius.circular(8.w),
), ),
child: Hero( child: Hero(
tag: ImgModel.first(model.imgUrls), tag:
'${ImgModel.first(model.imgUrls)}${model.hashCode}',
child: FadeInImage.assetNetwork( child: FadeInImage.assetNetwork(
placeholder: R.ASSETS_IMAGES_PLACEHOLDER_WEBP, placeholder: R.ASSETS_IMAGES_PLACEHOLDER_WEBP,
image: API.image(ImgModel.first(model.imgUrls)), image: API.image(ImgModel.first(model.imgUrls)),

@ -75,7 +75,9 @@ class _NoticeDetailPageState extends State<NoticeDetailPage> {
API.community.boardDetail, API.community.boardDetail,
params: {'announcementId': widget.id}, params: {'announcementId': widget.id},
); );
model = BoardDetailModel.fromJson(baseModel.data); if (baseModel.data != null) {
model = BoardDetailModel.fromJson(baseModel.data);
}
setState(() {}); setState(() {});
}, },
firstRefresh: true, firstRefresh: true,
@ -91,10 +93,13 @@ class _NoticeDetailPageState extends State<NoticeDetailPage> {
.map( .map(
(e) => GestureDetector( (e) => GestureDetector(
onTap: () { onTap: () {
BeeImagePreview.toPath(path: e.url, tag: e.url); BeeImagePreview.toPath(
path: e.url,
tag: '${e.url!}${e.hashCode}',
);
}, },
child: Hero( child: Hero(
tag: e.url!, tag: '${e.url!}${e.hashCode}',
child: Container( child: Container(
clipBehavior: Clip.antiAlias, clipBehavior: Clip.antiAlias,
decoration: BoxDecoration( decoration: BoxDecoration(

@ -5,17 +5,21 @@
import FlutterMacOS import FlutterMacOS
import Foundation import Foundation
import device_info_plus_macos
import firebase_core import firebase_core
import firebase_crashlytics import firebase_crashlytics
import package_info import package_info
import package_info_plus_macos
import path_provider_macos import path_provider_macos
import shared_preferences_macos import shared_preferences_macos
import url_launcher_macos import url_launcher_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin")) FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
FLTFirebaseCrashlyticsPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCrashlyticsPlugin")) FLTFirebaseCrashlyticsPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCrashlyticsPlugin"))
FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin")) FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))

@ -1,6 +1,13 @@
# Generated by pub # Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile # See https://dart.dev/tools/pub/glossary#lockfile
packages: packages:
_fe_analyzer_shared:
dependency: transitive
description:
name: _fe_analyzer_shared
url: "https://pub.flutter-io.cn"
source: hosted
version: "21.0.0"
amap_flutter_base: amap_flutter_base:
dependency: "direct main" dependency: "direct main"
description: description:
@ -22,6 +29,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.1" version: "2.0.1"
analyzer:
dependency: transitive
description:
name: analyzer
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.5.0"
animated_text_kit: animated_text_kit:
dependency: "direct main" dependency: "direct main"
description: description:
@ -92,6 +106,62 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "4.0.1" version: "4.0.1"
build:
dependency: transitive
description:
name: build
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
build_config:
dependency: transitive
description:
name: build_config
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
build_daemon:
dependency: transitive
description:
name: build_daemon
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.0"
build_resolvers:
dependency: transitive
description:
name: build_resolvers
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
build_runner:
dependency: "direct dev"
description:
name: build_runner
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.2"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
url: "https://pub.flutter-io.cn"
source: hosted
version: "7.0.0"
built_collection:
dependency: transitive
description:
name: built_collection
url: "https://pub.flutter-io.cn"
source: hosted
version: "5.0.0"
built_value:
dependency: transitive
description:
name: built_value
url: "https://pub.flutter-io.cn"
source: hosted
version: "8.0.5"
characters: characters:
dependency: transitive dependency: transitive
description: description:
@ -106,6 +176,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.2.0" version: "1.2.0"
checked_yaml:
dependency: transitive
description:
name: checked_yaml
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
cli_util: cli_util:
dependency: transitive dependency: transitive
description: description:
@ -120,6 +197,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.1.0" version: "1.1.0"
code_builder:
dependency: transitive
description:
name: code_builder
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.0.0"
collection: collection:
dependency: "direct main" dependency: "direct main"
description: description:
@ -154,28 +238,63 @@ packages:
name: cupertino_icons name: cupertino_icons
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.2" version: "1.0.3"
dart_style:
dependency: transitive
description:
name: dart_style
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
decimal: decimal:
dependency: transitive dependency: transitive
description: description:
name: decimal name: decimal
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.0+1" version: "1.1.0"
device_info: device_info_plus:
dependency: transitive dependency: transitive
description: description:
name: device_info name: device_info_plus
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.0" version: "1.0.1"
device_info_platform_interface: device_info_plus_linux:
dependency: transitive dependency: transitive
description: description:
name: device_info_platform_interface name: device_info_plus_linux
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.1" version: "1.0.1"
device_info_plus_macos:
dependency: transitive
description:
name: device_info_plus_macos
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
device_info_plus_platform_interface:
dependency: transitive
description:
name: device_info_plus_platform_interface
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.2"
device_info_plus_web:
dependency: transitive
description:
name: device_info_plus_web
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
device_info_plus_windows:
dependency: transitive
description:
name: device_info_plus_windows
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
dio: dio:
dependency: "direct main" dependency: "direct main"
description: description:
@ -239,6 +358,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.0.2" version: "3.0.2"
fixnum:
dependency: transitive
description:
name: fixnum
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
flustars: flustars:
dependency: "direct main" dependency: "direct main"
description: description:
@ -331,6 +457,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.4.2" version: "3.4.2"
frontend_server_client:
dependency: transitive
description:
name: frontend_server_client
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0"
get: get:
dependency: "direct main" dependency: "direct main"
description: description:
@ -345,6 +478,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.1" version: "2.0.1"
graphs:
dependency: transitive
description:
name: graphs
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.0"
grinder: grinder:
dependency: "direct dev" dependency: "direct dev"
description: description:
@ -379,7 +519,14 @@ packages:
name: http name: http
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.13.1" version: "0.13.3"
http_multi_server:
dependency: transitive
description:
name: http_multi_server
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.1"
http_parser: http_parser:
dependency: transitive dependency: transitive
description: description:
@ -429,6 +576,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.17.0" version: "0.17.0"
io:
dependency: transitive
description:
name: io
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
jpush_flutter: jpush_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
@ -445,6 +599,20 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.6.3" version: "0.6.3"
json_annotation:
dependency: "direct main"
description:
name: json_annotation
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.0.1"
json_serializable:
dependency: "direct dev"
description:
name: json_serializable
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.1.1"
logger: logger:
dependency: "direct main" dependency: "direct main"
description: description:
@ -452,6 +620,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.0" version: "1.0.0"
logging:
dependency: transitive
description:
name: logging
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
matcher: matcher:
dependency: transitive dependency: transitive
description: description:
@ -487,6 +662,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.2.0" version: "3.2.0"
package_config:
dependency: transitive
description:
name: package_config
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.0"
package_info: package_info:
dependency: "direct main" dependency: "direct main"
description: description:
@ -494,6 +676,48 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.0" version: "2.0.0"
package_info_plus:
dependency: transitive
description:
name: package_info_plus
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
package_info_plus_linux:
dependency: transitive
description:
name: package_info_plus_linux
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
package_info_plus_macos:
dependency: transitive
description:
name: package_info_plus_macos
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.1"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
package_info_plus_web:
dependency: transitive
description:
name: package_info_plus_web
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
package_info_plus_windows:
dependency: transitive
description:
name: package_info_plus_windows
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
path: path:
dependency: transitive dependency: transitive
description: description:
@ -549,7 +773,7 @@ packages:
name: permission_handler name: permission_handler
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "7.0.0" version: "7.1.0"
permission_handler_platform_interface: permission_handler_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -578,13 +802,20 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.0" version: "2.0.0"
pool:
dependency: transitive
description:
name: pool
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.5.0"
power_logger: power_logger:
dependency: "direct main" dependency: "direct main"
description: description:
name: power_logger name: power_logger
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.2.0" version: "1.2.1"
process: process:
dependency: transitive dependency: transitive
description: description:
@ -599,6 +830,20 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "5.0.0" version: "5.0.0"
pub_semver:
dependency: transitive
description:
name: pub_semver
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.0"
pubspec_parse:
dependency: transitive
description:
name: pubspec_parse
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
qr: qr:
dependency: transitive dependency: transitive
description: description:
@ -628,7 +873,7 @@ packages:
name: rational name: rational
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.0" version: "1.1.0+1"
share: share:
dependency: "direct main" dependency: "direct main"
description: description:
@ -678,6 +923,20 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.0" version: "2.0.0"
shelf:
dependency: transitive
description:
name: shelf
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.1"
shelf_web_socket:
dependency: transitive
description:
name: shelf_web_socket
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.1"
shimmer: shimmer:
dependency: "direct main" dependency: "direct main"
description: description:
@ -690,6 +949,13 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.99" version: "0.0.99"
source_gen:
dependency: transitive
description:
name: source_gen
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
source_span: source_span:
dependency: transitive dependency: transitive
description: description:
@ -760,6 +1026,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.2.19" version: "0.2.19"
timing:
dependency: transitive
description:
name: timing
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
tint: tint:
dependency: transitive dependency: transitive
description: description:
@ -844,6 +1117,20 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.1" version: "2.0.1"
watcher:
dependency: transitive
description:
name: watcher
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.0"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0"
win32: win32:
dependency: transitive dependency: transitive
description: description:

@ -13,11 +13,11 @@ dependencies:
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
intl: ^0.17.0 intl: ^0.17.0
permission_handler: ^7.0.0 permission_handler: ^7.1.0
package_info: ^2.0.0 package_info: ^2.0.0
provider: ^5.0.0 provider: ^5.0.0
flutter_screenutil: ^5.0.0 flutter_screenutil: ^5.0.0
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.3
url_launcher: ^6.0.2 url_launcher: ^6.0.2
flustars: ^2.0.1 flustars: ^2.0.1
flutter_icons: flutter_icons:
@ -50,7 +50,7 @@ dependencies:
ref: null-safety ref: null-safety
image_picker: ^0.7.4 image_picker: ^0.7.4
power_logger: ^1.2.0 power_logger: ^1.2.1
flutter_rating_bar: ^4.0.0 flutter_rating_bar: ^4.0.0
jpush_flutter: jpush_flutter:
git: git:
@ -65,6 +65,7 @@ dependencies:
firebase_crashlytics: ^2.0.0 firebase_crashlytics: ^2.0.0
share: ^2.0.1 share: ^2.0.1
collection: ^1.15.0 collection: ^1.15.0
json_annotation: ^4.0.1
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
@ -72,6 +73,8 @@ dev_dependencies:
import_sorter: ^4.4.2 import_sorter: ^4.4.2
grinder: ^0.9.0 grinder: ^0.9.0
flutter_native_splash: ^1.1.8+4 flutter_native_splash: ^1.1.8+4
json_serializable: ^4.1.1
build_runner: ^2.0.2
flutter: flutter:
uses-material-design: true uses-material-design: true

Loading…
Cancel
Save