* opt: dataStatus

* tweaks

* opt: ui

* update

Signed-off-by: dom <githubaccount56556@proton.me>

---------

Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2026-02-06 14:25:45 +08:00
committed by GitHub
parent 32386bf146
commit 7ab2cf973f
12 changed files with 85 additions and 73 deletions

View File

@@ -916,7 +916,12 @@ class ListTile extends StatelessWidget {
// Show basic cursor when ListTile isn't enabled or gesture callbacks are null.
final Set<WidgetState> mouseStates = <WidgetState>{
if (!enabled || (onTap == null && onLongPress == null))
if (!enabled ||
(onTap == null &&
onTapUp == null &&
onLongPress == null &&
onSecondaryTap == null &&
onSecondaryTapUp == null))
WidgetState.disabled,
};
final MouseCursor effectiveMouseCursor =