string_contains library

Classes

CleanWidget
CleanWidget is a StatelessWidget. it used to clean up bad-words/hide emails/hide phoneNumbers/partially or fully hide extraWords from the source string.
StringContainsElement
StringContainsElement is used to check if a string contains a certain StringContainsElementType.
StringContainsWidget
StringContainsWidget highlights the url, email, phone number, hashtag, mention and highLightWords. provides onTap callback for each element of type StringContainsElementType. StringContainsWidget is a widget that displays a string that contains a certain StringContainsElementTypes.

Enums

StringContainsElementType
enum for StringContainsElementType which is used to determine which type of element is detected.

Extensions

NullableStringContains on String?
extension on nullable String.
StringContains on String
Extension on [String] that provides a methods to check, if a string contains any bad-words/url/link/email/phone number/hashtag/mention and more others.

Typedefs

OnTapCallBack = void Function(StringContainsElement element)
Call Back Function for StringContainsElement.