|
|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter_svg/svg.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/app_state/app_state.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/int_extensions.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/string_extensions.dart';
|
|
|
|
|
@ -35,7 +36,12 @@ class EmployeeDigitialIdDialog extends StatelessWidget {
|
|
|
|
|
boxShadow: [BoxShadow(color: Colors.white60, blurRadius: 10, spreadRadius: 10)],
|
|
|
|
|
),
|
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
|
child: Image.memory(
|
|
|
|
|
child: (AppState().memberInformationList!.eMPLOYEEIMAGE == null || AppState().memberInformationList!.eMPLOYEEIMAGE!.isEmpty)
|
|
|
|
|
? Container(
|
|
|
|
|
color: Colors.grey[300],
|
|
|
|
|
child: SvgPicture.asset("assets/images/user.svg"),
|
|
|
|
|
)
|
|
|
|
|
: Image.memory(
|
|
|
|
|
Utils.getPostBytes(
|
|
|
|
|
AppState().memberInformationList!.eMPLOYEEIMAGE ?? "",
|
|
|
|
|
),
|
|
|
|
|
|