You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ RestrictingInputFormatter
87
87
88
88
/// for currencies
89
89
MoneyInputFormatter
90
+
PosInputFormatter
90
91
```
91
92
92
93
## Utility methods and widgets
@@ -341,6 +342,8 @@ TextFormField(
341
342
],
342
343
),
343
344
```
345
+
346
+
344
347
## Money Input formatter
345
348
346
349
```dart
@@ -371,6 +374,20 @@ TextFormField(
371
374
372
375
```
373
376
377
+
## Point of Sale input formatter
378
+
```dart
379
+
PosInputFormatter
380
+
```
381
+
Allows you to enter numbers like you would normally do
382
+
on a sales terminal
383
+
```dart
384
+
TextFormField(
385
+
keyboardType: TextInputType.number,
386
+
inputFormatters: [
387
+
PosInputFormatter(),
388
+
],
389
+
),
390
+
...
374
391
375
392
376
393
For more details see [example](https://github.com/caseyryan/flutter_multi_formatter/tree/master/example) project. And feel free to open an issue if you find any bugs of errors
0 commit comments