feat(delete):删除里面文件夹

This commit is contained in:
2025-10-23 10:47:53 +08:00
parent 35d26643ba
commit 55ab438c11
75 changed files with 2424 additions and 41 deletions

View File

@@ -0,0 +1,47 @@
import 'package:flutter/material.dart';
///弹窗widget
///ctx showDialog context
///padding 位置
class ShowDialogWidget extends StatelessWidget {
final BuildContext? ctx;
final Widget child;
final EdgeInsetsGeometry padding;
final ScrollController? scrollController;
const ShowDialogWidget({
super.key,
this.ctx,
required this.child,
required this.padding,
this.scrollController,
});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.transparent,
body: Stack(
children: [
GestureDetector(
onTap: ctx == null ? null : () => Navigator.pop(ctx!),
child: Container(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
color: Colors.transparent,
),
),
Center(
child: Padding(
padding: padding,
child: SingleChildScrollView(
controller: scrollController,
child: child,
),
),
),
],
),
);
}
}