bad_words 0.1.2 copy "bad_words: ^0.1.2" to clipboard
bad_words: ^0.1.2 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.

example/example.dart

import 'package:bad_words/bad_words.dart';

main() {
  final testString = 'string that does not contain bad words';
  final filter = Filter();

  if (filter.isProfane(testString)) {
    print('put a nickle in the swear jar!');
  }
}
15
likes
0
pub points
75%
popularity

Publisher

unverified uploader

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