bad_words 0.2.1 copy "bad_words: ^0.2.1" to clipboard
bad_words: ^0.2.1 copied to clipboard

outdated

A dart filter for bad words. This filter will allow you to make a simple check to tell if a string contains bad words as defined in the lib/word_list.dart file.

bad_words #

A dart filter for English bad words.

Installation #

bad_words: ^0.2.0

Usage #

import 'package:bad_words/bad_words.dart';

final filter = Filter();

if (filter.isProfane('some string to test')) {
    // ... validation error etc.
}

// clean up a profane string
final cleanString = filter.clean('some test string');
15
likes
0
points
753
downloads

Publisher

unverified uploader

Weekly Downloads

A dart filter for bad words. This filter will allow you to make a simple check to tell if a string contains bad words as defined in the lib/word_list.dart file.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on bad_words