f_events 0.1.0 copy "f_events: ^0.1.0" to clipboard
f_events: ^0.1.0 copied to clipboard

outdatedDart 1 only

Events library.

f_events #

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:events/events.dart';

class Event {
    void execute() {}
}

main() {
    event.register('event_name', new Event());
    event.listen('event_name', (Event event) => print('...'));
    
    event.call('event_name');
}

Todo #

  • Write examples
  • tests 100%
  • Make lazy loading
  • Make mechanism for automaticily calling events from property in listener

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Events library.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on f_events