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:f_events/f_events.dart';
    
class Event {
  String data;

  Event(this.data);
}

void main() {
  event.register('event_name', new Event());
  event.listen('event_name', (Event event) => print(event.data));
        
  event.call('event_name', positionalArguments: ['String']);
}

Todo

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

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

f_events
Support for doing something awesome. [...]