tformatter 0.2.1
tformatter: ^0.2.1 copied to clipboard
A powerful Flutter/Dart package for formatting, validation, and manipulation of common data types such as dates, times, currencies, phone numbers, and more.
0.2.0 #
Added #
isValidIp: Validates if a strings is a valid IPv4 or IPv6- Supports both IPv4 (e.g.,
192.168.0.1) and IPv6 (e.g.,2001:0db8:85a3:0000:0000:8a2e:0370:7334). - Returns
truefor valid IP addresses andfalseotherwise.
- Supports both IPv4 (e.g.,
extractMentions: Extracts all mentions (e.g.,@username) from a given text.- Returns a list of all mentions found in the input text.
- If no mentions are found, an empty list returned.
generateLoremIpsum: Generate a lorem ipsum text.- Accepts an optional
wordCountparameter to specify the number of words (default: 50). - Returns a random string of dummy text.
- Accepts an optional
generateUniqueId: Generates a random unique identifier.- Accepts an optional
lengthparameter to specify the ID length (default: 16). - Returns a string containing random alphanumeric characters.
- Accepts an optional
Improved #
- Enhanced the documentation for new methods with detailled examples and use cases.
0.1.0 #
0.0.1 #
- TODO: Describe initial release.