dartly 1.0.4 copy "dartly: ^1.0.4" to clipboard
dartly: ^1.0.4 copied to clipboard

Dartly is a set of extension and functions for Dart that makes your life easier and more convenient.

example/dartly_example.dart

import 'package:dartly/dartly.dart';

void main() {
  Validate.isNumber('dart'); // Result :false
  Validate.isNumber('1'); // result : true
  Validate.daysInMonth(2023, 1); // result: 31
  Validate.isBlank(""); //result : true
  Validate.isBlank("s"); // result false
  Validate.isLeapYear(2023); // result : false
  Validate.isLeapYear(2024); // result : true
  Validate.reverse("India"); //result :aidnI
}
2
likes
150
pub points
0%
popularity

Publisher

unverified uploader

Dartly is a set of extension and functions for Dart that makes your life easier and more convenient.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on dartly