commonfunctions 0.0.1 copy "commonfunctions: ^0.0.1" to clipboard
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 Color objects
  • 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
1
likes
120
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of utility functions for handling common tasks in Flutter projects.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on commonfunctions