Merge branch 'release_hyx' into release
This commit is contained in:
commit
ea23b0657d
@ -1,3 +1,4 @@
|
|||||||
|
import 'package:cached_network_image/cached_network_image.dart';
|
||||||
import 'package:date_format/date_format.dart';
|
import 'package:date_format/date_format.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||||
@ -409,10 +410,23 @@ class _CheckingInListPageState extends State<CheckingInListPage> {
|
|||||||
else
|
else
|
||||||
ClipRRect(
|
ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(100.w),
|
borderRadius: BorderRadius.circular(100.w),
|
||||||
child: Image.network(
|
child: CachedNetworkImage(
|
||||||
headUrl,
|
|
||||||
width: 60.w,
|
width: 60.w,
|
||||||
height: 60.w,
|
height: 60.w,
|
||||||
|
imageUrl: headUrl,
|
||||||
|
placeholder: (BuildContext context, String url) =>
|
||||||
|
const SizedBox(),
|
||||||
|
errorWidget:
|
||||||
|
(BuildContext context, String url, Object error) =>
|
||||||
|
Container(
|
||||||
|
color: const Color(0xffEBF4FF),
|
||||||
|
child: Center(
|
||||||
|
child: Text(
|
||||||
|
name!.substring(0, 2),
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 22.sp, color: const Color(0xff7F9CF5)),
|
||||||
|
)),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(width: 20.w),
|
SizedBox(width: 20.w),
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
import 'package:cached_network_image/cached_network_image.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||||
import 'package:flutter_slidable/flutter_slidable.dart';
|
import 'package:flutter_slidable/flutter_slidable.dart';
|
||||||
@ -154,10 +155,23 @@ class _CheckingInStaffListPageState extends State<CheckingInStaffListPage> {
|
|||||||
else
|
else
|
||||||
ClipRRect(
|
ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(100.w),
|
borderRadius: BorderRadius.circular(100.w),
|
||||||
child: Image.network(
|
child: CachedNetworkImage(
|
||||||
staffListItem.headurl!,
|
|
||||||
width: 60.w,
|
width: 60.w,
|
||||||
height: 60.w,
|
height: 60.w,
|
||||||
|
imageUrl: staffListItem.headurl!,
|
||||||
|
placeholder: (BuildContext context, String url) =>
|
||||||
|
const SizedBox(),
|
||||||
|
errorWidget:
|
||||||
|
(BuildContext context, String url, Object error) =>
|
||||||
|
Container(
|
||||||
|
color: const Color(0xffEBF4FF),
|
||||||
|
child: Center(
|
||||||
|
child: Text(
|
||||||
|
staffListItem.staffName!.substring(0, 2),
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 22.sp, color: const Color(0xff7F9CF5)),
|
||||||
|
)),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user