v3.3.14
swiss_knife
Dart Useful Tools - collections, math, date, uri, json, events, resources, regexp, etc...
18Likes 2.3K30-day downloads150Pub points
AndroidiOSWebmacOSWindowsLinux
Dart useful tools: collections, math, date, etc...
^0.20.2^3.1.2^5.1.1^1.29.0^5.0.4^1.19.1^1.15.0English project snapshot. Visit GitHub for the latest content.
pub package Null Safety Dart CI GitHub Tag New Commits Last Commits Pull Requests Code size License FOSSA Status
Dart Useful Tools:
and more...
See Swiss Knife API documentation for full functionalities.
A simple EventStream usage example:
import 'package:swiss_knife/swiss_knife.dart';
class User {
final EventStream<String> onNotification = new EventStream() ;
void notify(String msg) {
onNotification.add(msg) ;
}
}
void main() {
User user = new User() ;
user.onNotification.listen((msg) {
print("NOTIFICATION> $msg") ;
});
}
Please file feature requests and bugs at the issue tracker.
Graciliano M. Passos: gmpassos@GitHub.
Dart free & open-source license.