Skip to content

Latest commit

 

History

History
80 lines (53 loc) · 2.73 KB

README.md

File metadata and controls

80 lines (53 loc) · 2.73 KB

Swiss Knife

pub package Null Safety Dart CI GitHub Tag New Commits Last Commits Pull Requests Code size License FOSSA Status

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.

FOSSA Status