utils_plus
is a Flutter package that provides a collection of useful extensions for common Dart and Flutter types. It aims to simplify and enhance your development experience by offering convenient methods and utilities.
Features
Contains various extentions for
- String
- num
- int
- List
- DateTime
- Enum
Getting started
To use this package, add utils_plus
to your pubspec.yaml
file:
dependencies:
utils_plus: ^0.0.4
Usage
Check out the example directory for detailed examples:
enum UserType{
admin,
superAdmin,
normal;
}
final a = UserType.superAdmin;
print(a.toFormattedString) // Returns 'Super Admin'