string_upper_lower_package
The string_upper_lower_package
is a Dart package that provides a utility function to invert the case of each character in a given string. This package can be particularly useful for text manipulation tasks where you need to toggle the case of each character in a string from upper to lower or vice versa.
Features
- Convert all uppercase characters in a string to lowercase.
- Convert all lowercase characters in a string to uppercase.
- Preserve non-alphabetic characters (e.g., numbers, punctuation) unchanged.
Installation
Add the following dependency to your pubspec.yaml
file:
dependencies:
string_upper_lower_package: ^1.0.0