caseyryan/flutter_multi_formatter

Expose `_formatByMask`

RodolfoSilva opened this issue · 2 comments

Could we expose the method from phone formatter _formatByMask as formatPhoneByMask. This will help when we need to format an unmasked number from the server.

https://github.com/caseyryan/flutter_multi_formatter/blob/master/lib/formatters/phone_input_formatter.dart#L175-L181

There is already a global method called formatAsPhoneNumber() won't it fit your goal?

Sorry, thanks!