vulgar_filter 0.0.1 copy "vulgar_filter: ^0.0.1" to clipboard
vulgar_filter: ^0.0.1 copied to clipboard

A new Flutter plugin for vulgar filter.

vulgar_filter #

This plugin provides functionality to filter out vulgar words from text input. It can be used in chat applications, comment sections, or any other place where user-generated content is allowed. The plugin is easy to integrate and highly customizable to suit your specific needs.

Installation #

Add the following to your pubspec.yaml file:

dependencies:
    vulgar_filter: latest_version

Then run:

flutter pub get

Usage #

  • Import
import 'package:vulgar_filter/vulgar_filter.dart';
  • Filter the vulgar_filter word:
void main() {
    String text = "This is some example text with bad words.";
    String filteredText = VulgarFilter.filterVulgarWords(text)

    print(filteredText); // Output: This is some example text with **** words.
}
0
likes
130
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter plugin for vulgar filter.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on vulgar_filter