Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

UmairKhalid786/Flutter_DPad

Repository files navigation

Flutter TV D-Pad

Flutter application for handling TV D-pad navigation.

Getting Started

Locate the widget named DpadWidget in the on_dpad_click_widget.dart file. This widget includes two methods:

  1. Function onClick This method supports D-pad key code 23 and Keyboard Key 66.

  2. Function(bool isFocused) onFocus This method returns true when any interaction happens with it and false when the control moves out.

For more details, navigate to the lib folder and check the on_dpad_click_widget.dart file.

About

Flutter widget built for Android/Fire TV. Flutter don't support android TV officially and there is no support for DPad controller. I developed a widget which support DPad and respond to all controller events. Using RawKeyboard widget. By using this you can convert your mobile app into TV and support all click and focus events. A TV app demo is a...

Topics

Resources

Readme

Stars

Watchers

Forks

Packages

Contributors