filter_profanity 1.0.2+2 copy "filter_profanity: ^1.0.2+2" to clipboard
filter_profanity: ^1.0.2+2 copied to clipboard

Dart package to recognize if provided string contains offensive words.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add filter_profanity

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  filter_profanity: ^1.0.2+2

Alternatively, 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:filter_profanity/filter_profanity.dart';
9
likes
160
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Dart package to recognize if provided string contains offensive words.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on filter_profanity