update splash

hmxc
小赖 4 years ago
parent 772ef66a91
commit 7e5cfc1013

@ -1,4 +1,5 @@
// Flutter imports: // Flutter imports:
import 'package:akuCommunity/utils/developer_util.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// Package imports: // Package imports:
@ -58,7 +59,7 @@ class _SplashPageState extends State<SplashPage> {
void initState() { void initState() {
super.initState(); super.initState();
Future.delayed(Duration(milliseconds: 300), () { Future.delayed(Duration(milliseconds: 300), () {
if (mounted) PowerLogger.init(context); if (mounted) PowerLogger.init(context, debug: DeveloperUtil.dev);
}); });
_initOp().then((value) => Get.offAll(TabNavigator())); _initOp().then((value) => Get.offAll(TabNavigator()));
} }

@ -405,15 +405,15 @@ class _FixedDetailPageState extends State<FixedDetailPage> {
'维修结果'.text.black.size(32.sp).bold.isIntrinsic.make(), '维修结果'.text.black.size(32.sp).bold.isIntrinsic.make(),
20.w.heightBox, 20.w.heightBox,
BeeDivider.horizontal(), BeeDivider.horizontal(),
Padding( // Padding(
padding: EdgeInsets.all(20.w), // padding: EdgeInsets.all(20.w),
child: FadeInImage.assetNetwork( // child: FadeInImage.assetNetwork(
placeholder: R.ASSETS_EXAMPLE_BG1_PNG, // placeholder: R.ASSETS_EXAMPLE_BG1_PNG,
image: 'null', // image: 'null',
width: 646.w, // width: 646.w,
height: 323.w, // height: 323.w,
), // ),
), // ),
4.w.heightBox, 4.w.heightBox,
Row( Row(
children: [ children: [

Loading…
Cancel
Save