0 purchases
couchkeys
couchkeys #
A customizable virtual keyboard package for Flutter applications, specifically designed for
use with D-pad navigation on devices like smart TVs and set-top boxes.
Inspired by the YouTube app for Android TV.
Features #
Fully customizable keyboard layout
Customizable key appearance and behavior
Easy integration with Flutter TextFields
Getting started #
Add this to your pubspec.yaml file:
dependencies:
couchkeys: ^1.0.0
copied to clipboard
Then run:
flutter pub get
copied to clipboard
Usage #
...
// Import the package
import 'package:couchkeys/couchkeys.dart';
...
class _MyHomePageState extends State<MyHomePage> {
// Create a controller to use with both Couchkeys and TextField
final controller = TextEditingController();
@override
Widget build(BuildContext context) {
return Scaffold(
...
body: Column(
children: [
SizedBox(
width: 500,
// Create the Couchkeys widget
child: Couchkeys(
keyboardHeight: 200,
controller: controller,
)
),
// Create TextField widget with a controller to display the value
TextField(controller: controller),
]
)
)
}
}
copied to clipboard
Documentation #
Detailed API documentation can be found on pub.dev.
Contributing #
Contributions are welcome! Please feel free to submit a Pull Request or file an Issue on GitHub.
License #
This project is MIT Licensed. See LICENSE file for details.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.