block_porn 1.0.0
block_porn: ^1.0.0 copied to clipboard
A Dart package to block and filter inappropriate or unwanted URLs. Designed to integrate URL filtering capabilities into applications.
Changelog #
1.0.0 initial version #
Added #
- Initial release of the
block_pornpackage. - Added
Blockerclass for URL blocking functionality. - Included predefined list of blocked URLs in
assets/blocked.txt. - Added support for custom URL blocking through
customBlocksparameter. - Implemented utility methods:
isBlockedto check if a URL is blocked.isCustomBlockedto check if a URL matches custom blocked URLs.cleanLinkto normalize URLs by removing protocols.extractBaseto extract the base domain from URLs.