v0.10.0
basics
मूल डार्ट ऑब्जेक्ट्स पर सुविधाजनक एक्सटेंशन मेथड्स के साथ एक डार्ट लाइब्रेरी।
113लाइक 21.8 हज़ार30-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
मूल डार्ट ऑब्जेक्ट्स पर सुविधाजनक एक्सटेंशन मेथड्स के साथ एक डार्ट लाइब्रेरी।
^1.2.1^1.8.0^1.16.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Dart CI pub package package publisher
This repository contains a collection of useful extension methods on the built-in objects in Dart, such as String, Iterable, and Object.
Import the basics library.
import 'package:basics/basics.dart';
Then use the methods directly on objects in your dart code.
import 'package:basics/basics.dart';
main() async {
const numbers = <int>[2, 4, 8];
if (numbers.all((n) => n.isEven)) {
print('All numbers are even.');
}
print('sum of numbers is: ${numbers.sum()}');
for (var _ in 5.range) {
print('waiting 500 milliseconds...');
await Future.delayed(500.milliseconds);
}
}
This is not an official Google project.