simple_tv_navigation 0.0.1+26
simple_tv_navigation: ^0.0.1+26 copied to clipboard
A highly optimized TV navigation system for Flutter applications, providing efficient ID-based focus management for TVs, set-top boxes, and game consoles.
0.0.1+26 #
- ID-based Navigation: Each navigable element has explicit references to its neighbors in all directions (left, right, up, down)
- Optimized Rendering: Focus updates only trigger re-renders of affected elements
- Smart Fallback: Automatically finds the best element to focus if explicit IDs are missing
- Focus History: Tracks navigation history for handling back navigation
- Custom Focus Appearance: Highly customizable focus indicators and transitions
- Memory Management: Efficient storage of the navigation graph and cleanup of unused elements
- Debugging Tools: Navigation path analysis and validation
- Input Handling: Support for keyboard, remote controls, and gamepads
- Enable/Disable: Easily toggle the entire navigation system on or off
- Flexible Styling: Control focus decoration with options for default, custom, or no decoration
- Accessibility: Built-in support for screen readers and accessibility tools
- Flexible Widget Creation: Build focusable elements from scratch with the builder parameter
- Focus Restoration: Automatically restore focus to previous elements
- Enhanced focus management with lastFocusedId tracking
- Auto-scrolling functionality with Scrollable.ensureVisible
- Screen-based focus memory for maintaining focus state per screen