Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -44,14 +44,17 @@ class _NormalItemState extends State<NormalItem> {
onTap: () => widget.onTap?.call(() {
setState(() {});
}),
title: Text(widget.title ?? widget.getTitle?.call(),
style: widget.titleStyle ?? Theme.of(context).textTheme.titleMedium!),
title: Text(
widget.title ?? widget.getTitle?.call(),
style: widget.titleStyle ?? Theme.of(context).textTheme.titleMedium!,
),
subtitle: widget.subtitle != null || widget.getSubtitle != null
? Text(widget.subtitle ?? widget.getSubtitle?.call(),
style: Theme.of(context)
.textTheme
.labelMedium!
.copyWith(color: Theme.of(context).colorScheme.outline))
? Text(
widget.subtitle ?? widget.getSubtitle?.call(),
style: Theme.of(context).textTheme.labelMedium!.copyWith(
color: Theme.of(context).colorScheme.outline,
),
)
: null,
leading: widget.leading,
trailing: widget.getTrailing?.call(),