v3.3.14
swiss_knife
Dart 实用工具 - 集合、数学、日期、URI、JSON、事件、资源、正则表达式等...
18喜欢 2300近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
Dart 实用工具:集合、数学、日期等...
^0.20.2^3.1.2^5.1.1^1.29.0^5.0.4^1.19.1^1.15.0以下为英文项目原文快照,最新内容请访问 GitHub。
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.