| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import 'package:clean/dialog/photo_delete_finish_dialog.dart';
- import 'package:clean/resource/assets.gen.dart';
- import 'package:clean/resource/colors.gen.dart';
- import 'package:flutter/Material.dart';
- import 'package:flutter/cupertino.dart';
- import 'package:flutter_screenutil/flutter_screenutil.dart';
- import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
- import 'package:lottie/lottie.dart';
- void photoDeletingDialog() {
- const tag = 'photoDeletingDialog';
- SmartDialog.show(
- tag: tag,
- backType: SmartBackType.block,
- clickMaskDismiss: false,
- maskColor: ColorName.black,
- builder: (_) {
- return Container(
- height: double.infinity,
- width: double.infinity,
- child: Stack(
- children: [
- Positioned(
- top: 176.h,
- left: 0,
- right: 0,
- child: Column(
- children: [
- Assets.images.iconPhotoDeleting
- .image(width: 273.w, height: 220.h),
- SizedBox(height: 45.h),
- Text(
- 'Deleting...',
- style: TextStyle(
- color: ColorName.white,
- fontSize: 16.sp,
- fontWeight: FontWeight.w500,
- ),
- ),
- ],
- ),
- ),
- IgnorePointer(
- child: Assets.images.bgHome.image(
- width: 360.w,
- height: 234.h,
- ),
- ),
- ],
- ),
- );
- });
- }
|