commonfunctions 0.0.1
commonfunctions: ^0.0.1 copied to clipboard
A collection of utility functions for handling common tasks in Flutter projects.
commonfunctions #
A Flutter package that provides a collection of common utility functions for handling date pickers, time pickers, string manipulations, color conversions, and more.
Features #
- Custom Date Picker with various options like past and future dates
- Custom Time Picker with options for setting the initial time and title
- Convert string-based color codes to
Colorobjects - Get the current date and time in a formatted string
- Convert strings to Base64 strings
- Format timestamps into 12-hour AM/PM format
- Calculate the length of a string
- Validate email addresses using a regex pattern
Installation #
Add this line to your pubspec.yaml file under dependencies:
dependencies:
commonfunctions: ^0.0.1