postcode 0.0.3 copy "postcode: ^0.0.3" to clipboard
postcode: ^0.0.3 copied to clipboard

Validate & parse UK postcodes, to assist in the development and creation of new functionality.

example/main.dart

import 'package:postcode/postcode.dart';

void main() {
  final POSTCODE = "sn3 3ey";
  final NOT_POSTCODE = "3ab eye";
  print(isValid(POSTCODE)); // => true
  print(isValid(NOT_POSTCODE)); // => false
}
1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Validate & parse UK postcodes, to assist in the development and creation of new functionality.

Homepage

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on postcode