another_flutter_utils 1.0.1

SDKflutter
Platformandroidioswindowslinuxmacosweb

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 given DateTime instance.
  • lastDayOfMonth: returns the last day of the month for a given DateTime instance.

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.