number_editing_controller 1.0.0
number_editing_controller: ^1.0.0 copied to clipboard
Number Editing Controller - number or amount editing controller
Features #
- formats as-you-type text fields as numbers (decimals, currency or integers)
- extracts
numvalue from the input
Getting started #
- install the library
flutter pub add number_editing_controller
Usage #
- first you should define your controller
final controller = NumberEditingTextController.integer();
- set this
controlleras the controller for the targetTextField - now the
TextFieldwould filter out all non-integer symbols - you can extract the value with
controller.number