dart_extensionz 4.7.0 copy "dart_extensionz: ^4.7.0" to clipboard
dart_extensionz: ^4.7.0 copied to clipboard

A set of Dart extensions I use in various projects. Including Boolean, DateTime extensions and more.

example/main.dart

import 'package:dart_extensionz/dart_extensionz.dart';

enum MyEnum {
  one,
  two,
  three,
}

class MyClass {
  const MyClass({
    required this.name,
    required this.number,
    required this.myEnum,
  });

  final String name;
  final int number;
  final MyEnum myEnum;

  String get initials => name.initials;

  String get ordinal => number.ordinal;

  String get myEnumLabel => myEnum.label;
}
2
likes
0
pub points
42%
popularity

Publisher

verified publishermj12358.dev

A set of Dart extensions I use in various projects. Including Boolean, DateTime extensions and more.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dart_extensionz