mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-24 15:48:14 +02:00
feat: add MobileMoviesTab for paginated movie display, search, and playback, introducing TvFocusable for enhanced navigation.
This commit is contained in:
1 parent
57ced00738
commit
426e763742
5 files changed
+161
-26
No files matched your search
@@ -147,10 +147,27 @@ class _TVFocusableState extends State<TVFocusable> {
|
||||
begin: 1.0,
|
||||
end: _isFocused ? widget.scale : 1.0,
|
||||
),
|
||||
builder: (context, scale, child) {
|
||||
builder: (context, double scale, child) {
|
||||
return Transform.scale(
|
||||
scale: scale,
|
||||
child: Container(
|
||||
decoration: _isFocused
|
||||
? BoxDecoration(
|
||||
borderRadius: widget.borderRadius ?? BorderRadius.circular(12),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.black.withOpacity(0.5), // Shadow for depth
|
||||
blurRadius: 10,
|
||||
offset: const Offset(0, 4),
|
||||
),
|
||||
BoxShadow(
|
||||
color: widget.focusColor.withOpacity(0.3), // Glow effect
|
||||
blurRadius: 12,
|
||||
spreadRadius: 2,
|
||||
),
|
||||
],
|
||||
)
|
||||
: null,
|
||||
foregroundDecoration: _isFocused
|
||||
? BoxDecoration(
|
||||
borderRadius: widget.borderRadius ?? BorderRadius.circular(12),
|
||||
|
||||
Reference in new issue
Block a user