string_utils_ext
A Flutter package providing utility methods and extensions for String manipulations and validations with comprehensive null check handling.
Features
- Null check handling for all string operations
- Uppercase and lowercase conversions
- Capitalize the first letter
- Reverse a string
- Check if a string is numeric or a valid email
- Trim and remove all whitespace
- Safe substring operations
- Convert strings to int or double
- Format strings as currency
Installation
Add the following line to your pubspec.yaml
:
dependencies:
shared_preferences: ^1.0.0