Skip to content
pubscout

dpad_container

2.0.4, released 3 years ago by an unverified publisher

Dpad container focus navigation support for Android TV.

WASM-ready
$ flutter pub add dpad_container
Source repository

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.

Works with

Packages commonly used together with dpad_container: ones it builds on, ones built on it, and its own family.