update power_logger

hmxc
小赖 4 years ago
parent 647ef778ef
commit b7ae38e1c9

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

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

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

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

Loading…
Cancel
Save