Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-21 11:48:42 +08:00
parent 1efd62803a
commit ac60ac417b
130 changed files with 1631 additions and 2132 deletions

View File

@@ -41,11 +41,9 @@ class _NormalItemState extends State<NormalItem> {
Widget build(BuildContext context) {
return ListTile(
contentPadding: widget.contentPadding,
onTap: () {
widget.onTap?.call(() {
setState(() {});
});
},
onTap: () => widget.onTap?.call(() {
setState(() {});
}),
title: Text(widget.title ?? widget.getTitle?.call(),
style: widget.titleStyle ?? Theme.of(context).textTheme.titleMedium!),
subtitle: widget.subtitle != null || widget.getSubtitle != null