Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-13 14:16:19 +08:00
parent b2100f3872
commit 685852c0a4
18 changed files with 618 additions and 675 deletions

View File

@@ -4,19 +4,23 @@ class ComBtn extends StatelessWidget {
final Widget icon;
final VoidCallback? onTap;
final VoidCallback? onLongPress;
final double width;
final double height;
const ComBtn({
super.key,
required this.icon,
this.onTap,
this.onLongPress,
super.key,
this.width = 34,
this.height = 34,
});
@override
Widget build(BuildContext context) {
return SizedBox(
width: 34,
height: 34,
width: width,
height: height,
child: GestureDetector(
onTap: onTap,
onLongPress: onLongPress,