filter_profanity_flutter 1.0.1
filter_profanity_flutter: ^1.0.1 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 Dart:
$ dart pub add filter_profanity_flutterWith Flutter:
$ flutter pub add filter_profanity_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
filter_profanity_flutter: ^1.0.1Alternatively, your editor might support dart pub get or 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_flutter/filter_profanity_flutter.dart';