Skip to main content

plate_keypad 0.1.1 copy "plate_keypad: ^0.1.1" to clipboard
plate_keypad: ^0.1.1 copied to clipboard

The optional on-screen keypad and slot picker for the plate_core library — a soft keyboard for hosts that do not render their own.

FREE PALESTINE 🇮🇷🇵🇸 پاینده ایران

GO VEGAN 🌱

==================================

The optional on-screen keypad for plate_core, for the hosts that don't already have a keyboard lying around.

Also available #

plate_keypad #

Most apps drive a PlateCanvas from the system keyboard, a hardware keyboard, or their own UI and never need this. It's here for when you want a self-contained soft keyboard under the plate, plus the modal character wheel a letter slot opens.

Depends on #

plate_core (^0.1.0), for PlateAlphabet - the characters each key renders. Nothing else.

Use #

import 'package:plate_core/plate_core.dart';
import 'package:plate_keypad/plate_keypad.dart';

PlateKeypad(
  highlightedKey: null,
  digitAlphabet: PlateAlphabet.latinDigits,
  letterAlphabet: PlateAlphabet.latinUppercase,
  onKey: (key) => key == kPlateBackspaceKey
      ? controller.backspace()
      : controller.submit(key),
)

Pass PlateCharacterPicker.show as PlateCanvas.onChooseCharacter when a spec has letter slots - plate_core ships no picker of its own. The repo's plate_gallery/ app drives both the pad and the picker against every country package it ships.

Contains #

  • PlateKeypad, PlateKeypadTheme, kPlateBackspaceKey, kPlateKeypadSlide.
  • PlateCharacterPicker - the modal slot picker.
1
likes
140
points
455
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The optional on-screen keypad and slot picker for the plate_core library — a soft keyboard for hosts that do not render their own.

Homepage

License

MIT (license)

Dependencies

flutter, plate_core

More

Packages that depend on plate_keypad