dpad_containers_gh 0.0.2 copy "dpad_containers_gh: ^0.0.2" to clipboard
dpad_containers_gh: ^0.0.2 copied to clipboard

A new Flutter package project.

Dpad_container very usefull for dpad/keyboard navigation for web/andrid tv/windows/mac/linux app

-it is a container/Animated container wrap with logical_key focus -all the fuctionality of container /animated container are available, -Or change all parameter by focused / non focused

-import 'package:dpad_containers/dpad_containers.dart';

DpadContainerButton(
                  autoFocus: true,
                  height: 50,
                  width: 50,
                  onKey_numberpad_add: _increment,
                  onKey_numberpad_subtract: _decrement,
                  onPressedEnterOKAction: changeRedgreen,
                  onPressedSpacebarAction: changeRedgreen,
                  //use like normal container
                  child: const Center(child: Icon(Icons.light)),
                  //or use focus and nonfocus
                  focusedBackgroundDecoration: BoxDecoration(
                      borderRadius: BorderRadius.circular(25.0),
                      color: Colors.blue),
                  nonfocusedBackgroundDecoration: BoxDecoration(
                      borderRadius: BorderRadius.circular(25.0),
                      color: Colors.grey),
                  // focusedBackgroundColor: Colors.blue,
                  // nonfocusedBackgroundColor: Colors.grey,
                ),
              ```

                

Thanks, 
Goutam halder
0
likes
120
points
40
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A new Flutter package project.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dpad_containers_gh