update power_logger

hmxc
小赖 4 years ago
parent 647ef778ef
commit b7ae38e1c9

@ -17,8 +17,9 @@ class MainInitialize {
//TODO setCrashlyticsCollectionEnabled state //TODO setCrashlyticsCollectionEnabled state
FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(true); FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(true);
FlutterError.onError = (detail) { FlutterError.onError = (detail) {
LoggerData.addData(detail.exception.toString(), tag: 'EXCEPTION'); LoggerData.addData(detail);
FirebaseCrashlytics.instance.recordFlutterError(detail); FirebaseCrashlytics.instance.recordFlutterError(detail);
FlutterError.presentError(detail);
}; };
} }

@ -48,9 +48,7 @@ class _SelectBorrowReturnPageState extends State<SelectBorrowReturnPage> {
], ],
) )
.box .box
.color(Colors.white)
.padding(EdgeInsets.symmetric(vertical: 40.w, horizontal: 32.w)) .padding(EdgeInsets.symmetric(vertical: 40.w, horizontal: 32.w))
.withRounded(value: 8.w)
.make() .make()
.onInkTap(() { .onInkTap(() {
Get.to( Get.to(
@ -58,6 +56,10 @@ class _SelectBorrowReturnPageState extends State<SelectBorrowReturnPage> {
isBorrow: isBorrow, isBorrow: isBorrow,
), ),
); );
}); }).material(
color: Colors.white,
borderRadius: BorderRadius.circular(8.w),
clipBehavior: Clip.antiAlias,
);
} }
} }

@ -554,7 +554,7 @@ packages:
name: power_logger name: power_logger
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.1.1-nullsafety.3" version: "1.2.0"
process: process:
dependency: transitive dependency: transitive
description: description:

@ -50,7 +50,7 @@ dependencies:
ref: null-safety ref: null-safety
image_picker: ^0.7.3 image_picker: ^0.7.3
power_logger: ^1.1.1-nullsafety.3 power_logger: ^1.2.0
flutter_rating_bar: ^4.0.0 flutter_rating_bar: ^4.0.0
jpush_flutter: ^2.0.1 jpush_flutter: ^2.0.1
open_file: ^3.1.0 open_file: ^3.1.0

Loading…
Cancel
Save