Skip to content
pubscout

numpad_layout

0.0.3, released 3 years ago by an unverified publisher

A numeric keyboard layout widget for Flutter with support for English and Arabic digits.

WASM-ready
$ flutter pub add numpad_layout
Source repository

What it does

Provides a customizable numeric keypad widget that supports English and Arabic digits, custom left and right widgets around zero, and flexible styling options.

AI-written summary of version 0.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a custom numeric keypad inside your app UI rather than using the system software keyboard.
  • You need support for Arabic digits alongside English digits.

Skip it when

  • You want to rely entirely on the native platform's system keyboard for text fields.
  • You need complex full-keyboard layouts with letters and symbols.

Strengths

  • Supports both English and Arabic digits with options to return values as English regardless of display.
  • Flexible customization including custom left and right widgets, radius, colors, and number styles.

Weaknesses

  • Limited documentation beyond basic parameters.
  • Very early version (0.0.3).

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
NumPad(
  arabicDigits: true,
  onType: (value) {
    number += value;
    setState(() {});
  },
  rightWidget: IconButton(
    icon: const Icon(Icons.backspace),
    onPressed: () {
      if (number.isNotEmpty) {
        number = number.substring(0, number.length - 1);
        setState(() {});
      }
    },
  ),
);

Alternatives

Packages that do the same job and could replace numpad_layout.