amount_input 0.0.4+2 copy "amount_input: ^0.0.4+2" to clipboard
amount_input: ^0.0.4+2 copied to clipboard

outdated

Allow the user to input the amount from the back

amount_input #

A new Flutter package project.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

#how to use

TextEditingController controller;

@override initState() { super.initState(); controller = new TextEditingController(text: "0.00"); controller.selection = TextSelection.fromPosition( TextPosition(offset: controller.text.length)); }

TextFormField( cursorWidth: 0, keyboardType: TextInputType.number, controller: controller, onChanged: (str) async { controller.text = await _manageInputAmount( controllerText: controller.text, onChangedString: str,textEditingController: controller); _moveCursorToTheRight(textEditingController: controller); }, ), # amount_input

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Allow the user to input the amount from the back

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on amount_input