bad_words 0.2.2
bad_words: ^0.2.2

Dart native js
Flutter Android iOS web

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.2

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');
4
likes
110
pub points
62%
popularity

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

Documentation

API reference

Uploader

tylersustare@gmail.com

License

MIT (LICENSE)

More

Packages that depend on bad_words