Dart Useful Tools:
- collections
- data
- date
- events
- io
- json
- loader
- math
- regexp
- resources
- string
- uri
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.