flutter_libphonenumber
library
Functions
-
format(String phone, String region)
→ Future<Map<String, String>>
-
-
formatNumberSync(String number, {CountryWithPhoneCode? country, PhoneNumberType phoneNumberType = PhoneNumberType.mobile, PhoneNumberFormat phoneNumberFormat = PhoneNumberFormat.international, bool removeCountryCodeFromResult = false, bool inputContainsCountryCode = true})
→ String
-
-
getAllSupportedRegions()
→ Future<Map<String, CountryWithPhoneCode>>
-
-
getFormattedParseResult(String phoneNumber, CountryWithPhoneCode country, {PhoneNumberType phoneNumberType = PhoneNumberType.mobile, PhoneNumberFormat phoneNumberFormat = PhoneNumberFormat.international})
→ Future<FormatPhoneResult?>
-
-
init({Map<String, CountryWithPhoneCode> overrides = const {}})
→ Future<void>
-
-
parse(String phone, {String? region})
→ Future<Map<String, dynamic>>
-