dpad_container
2.0.4, released 3 years ago by an unverified publisher
Dpad container focus navigation support for Android TV.
What it does
Provides Dpad focus navigation support for Android TV by letting you wrap widgets in a DpadContainer. It allows users to easily navigate widgets and get focused.
AI-written summary of version 2.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Flutter application for Android TV.
- You need a simple way to add Dpad focus and navigation to existing widgets by wrapping them.
Skip it when
- You are not targeting Android TV or Dpad inputs.
- You require complex custom focus traversal policies not supported by simple container wrappers.
Strengths
- Easy to use by simply wrapping widgets.
- Built with flutter_hooks for clean state handling.
Weaknesses
- Limited documentation and examples.
- Topics and advanced configuration details are not documented.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the dependency to pubspec.yaml and import the package.
import 'package:dpad_container/dpad_container.dart';Alternatives
Packages that do the same job and could replace dpad_container.
- dpad
D-pad navigation and focus management for Flutter TV apps.
77Compare - focus_on_it
Get notified when a Flutter widget is focused or unfocused and react to it.
50Compare - android_gesture_exclusion
Flutter plugin to exclude Android system gesture navigation in specific UI areas.
50Compare - conditional_wrap
A Flutter widget that conditionally wraps a child subtree with a parent widget.
39Compare
Works with
Packages commonly used together with dpad_container: ones it builds on, ones built on it, and its own family.