dart_intl_extensionz 0.0.1
dart_intl_extensionz: ^0.0.1 copied to clipboard
A set of extensions for the "Intl" package.
Dart Intl Extensionz #
A set of extensions for the Intl package.
Usage #
import 'package:dart_intl_extensionz/dart_intl_extensionz.dart';
DateTime value = DateTime.now();
String result = value.format(pattern: 'yMd');
Duration value = Duration(minutes: 5, seconds: 30);
String result = value.format(pattern: 'h:m:s');
double value = 78.5;
String result = value.toSimpleCurrency();
double value = 24.8;
String result = value.toDecimalPattern();
double value = 0.75;
String result = value.toPercentPattern();
The generated documentation will give you a great overview of all that is available.