Flutter Number Editing Controller

Missing number input controller for flutter apps

Flutter
3Stars
5Forks
v1.4.0

Overview

Missing number input controller for flutter apps

Features

  • formats as-you-type text fields as numbers (decimals, currency or integers)
  • extracts num value from the input
  • an example with final controller = NumberEditingTextController.currency(currencyName: 'JPY'); controller

Getting started

  • install the library
flutter pub add number_editing_controller

Usage

Working example can be found in example directory

  • first you should define your controller

integer input

final controller = NumberEditingTextController.integer();

decimal input

final controller = NumberEditingTextController.decimal();

currency amount input

final controller = NumberEditingTextController.currency();
  • optionally you can provide locale to use locale-based formatting
  • for currency() there's also currencyName and currencySymbol parameters available
  • you can set allowNegative to false to allow only unsigned input
  • set this controller as the controller for the target TextField
  • now the TextField would filter out all non-integer symbols
  • you can extract the value with controller.number

Top Contributors

thenixan

thenixan

47 commits
maurovanetti

maurovanetti

1 commits

Repository Info

Technology Stack
Flutter
Version
v1.4.0
License
BSD-3-Clause
Contributors
2
Last Update
Jun 7, 2025, 2:57 PM

Activity

Stars3
Forks5
Watchers3

Want to contribute?

View Repository
Nerdy Production

Building digital solutions that drive success. Transform your ideas into powerful, scalable applications.

Services

  • Custom Software Development
  • Mobile App Development
  • Web Development
  • Performance Optimization
  • Security Audits
  • Team Augmentation

© 2026 Nerdy Production.