swiss_knife 3.2.1 swiss_knife: ^3.2.1 copied to clipboard
Dart Useful Tools - collections, math, date, uri, json, events, resources, regexp, etc...
Swiss Knife #
Dart Useful Tools:
- collections
- data
- date
- events
- io
- json
- loader
- math
- regexp
- resources
- string
- uri
and more...
API #
See Swiss Knife API documentation for full functionalities.
Usage #
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") ;
});
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.
Author #
Graciliano M. Passos: gmpassos@GitHub.
License #
Dart free & open-source license.