feat: add TvFocusableCard widget for interactive focus and hover effects.

This commit is contained in:
Michael committed 2026-01-01 18:37:42 +01:00
1 parent 2d418e4e0c
commit 30218cb1d0
1 file changed
+3
+3
View File
@@ -93,6 +93,8 @@ class _TvFocusableCardState extends State<TvFocusableCard>
child: child, child: child,
); );
}, },
child: Material(
color: Colors.transparent,
child: InkWell( child: InkWell(
onTap: widget.onTap, onTap: widget.onTap,
onFocusChange: _handleFocusChange, onFocusChange: _handleFocusChange,
@@ -132,6 +134,7 @@ class _TvFocusableCardState extends State<TvFocusableCard>
), ),
), ),
), ),
),
); );
} }
} }