another_flutter_utils 1.0.1
another_flutter_utils: ^1.0.1 copied to clipboard
This package contains some useful utilities for Flutter. It is still in development and will be updated frequently. If you have any suggestions, please feel free to contact me. Thank you for your support.
Flutter Utility Package #
A Flutter package that extends the functionality of DateTime, String and int classes. This package contains the following utility methods (and more):
DateTime #
firstDayOfMonth: returns the first day of the month for a givenDateTimeinstance.lastDayOfMonth: returns the last day of the month for a givenDateTimeinstance.
String #
capitalizeFirstLetter: returns a string with the first letter capitalized.uncapitalizeFirstLetter: returns a string with the first letter in lowercase.
int #
isEven: returns a boolean indicating whether the number is even or not.isOdd: returns a boolean indicating whether the number is odd or not.
Usage #
To use this package, add flutter_utility_package as a dependency in your pubspec.yaml file.
License #
The package is available as open source under the terms of the MIT License.