rut_utils 0.1.1
rut_utils: ^0.1.1 copied to clipboard
Chilean RUT validation and formatting package. It includes methods to validate a RUT and a RutFormatter class to use on a Form.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rut_utilsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
rut_utils: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rut_utils/rut_utils.dart';