Results 183 packages
Sort by PUB-AZS
Extended EventEmitter that fires "statechange" event when state member is changed.
Child classes that inherit from EventEmitter can use the standard event emit, subscribe, unsubscribe, etc., methods of EventEmitter. This class adds a private _state member and a setState(object) and getState() method as well as getter/setter for the getState/SetState methods.
Whenever the state is changed, a 'statechange' event will be emitted with the previous state as argument. This allows the handler to compare old state with new state, if desired.
This package was developed as part of a port of Modus Create's IoT platform, RoboDomo from JavaScript to Dart and Flutter. The original can be found at https://github.com/RoboDomo.
v 1.0.2 (1 years ago)
This is something of a clone/work-alike of the JavaScript debug package by TJ Holowaychuck at https://github.com/visionmedia/debug. Use:
import 'package:debug/debug.dart';
final debug = Debug('any_key_you_like')
...
debug('any string you like, as if you called print()');
The DEBUG environment variable is checked to see if anything should be printed. You can specify multiple keys in DEBUG by separating them with semicolon. The * key matches ALL keys for all debugs.
This package was developed as part of a port of Modus Create's IoT platform, RoboDomo from JavaScript to Dart and Flutter. The original can be found at https://github.com/RoboDomo.
v 1.0.0 (1 years ago)
A Javascript engine to use with flutter. It uses Quickjs on Android/Windows/MacOS/OpenHarmony and JavascriptCore on IOS.
v 0.6.8 (1 years ago)