Dart DocumentationstagexlTextEvent

TextEvent class

class TextEvent extends Event {

 static const String LINK = "link";
 static const String TEXT_INPUT = "textInput";

 //-------------------------------------------------------------------------------------------------

 String _text = "";

 TextEvent(String type, [bool bubbles = false]) : super(type, bubbles);

 //-------------------------------------------------------------------------------------------------

 String get text => _text;
}

Extends

Event > TextEvent

Static Properties

static const String LINK = "link"

const String TEXT_INPUT #

static const String TEXT_INPUT = "textInput"

Constructors

new TextEvent(String type, [bool bubbles = false]) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
TextEvent(String type, [bool bubbles = false]) : super(type, bubbles);

Properties

final bool bubbles #

inherited from Event
bool get bubbles => _bubbles;

final bool captures #

inherited from Event
bool get captures => true;

final EventDispatcher currentTarget #

inherited from Event
EventDispatcher get currentTarget => _currentTarget;

final int eventPhase #

inherited from Event
int get eventPhase => _eventPhase;

final bool stopsImmediatePropagation #

inherited from Event
bool get stopsImmediatePropagation => _stopsImmediatePropagation;

final bool stopsPropagation #

inherited from Event
bool get stopsPropagation => _stopsPropagation;

final EventDispatcher target #

inherited from Event
EventDispatcher get target => _target;

final String text #

String get text => _text;

final String type #

inherited from Event
String get type => _type;

Methods

void stopImmediatePropagation() #

inherited from Event
void stopImmediatePropagation() {
 _stopsPropagation = true;
 _stopsImmediatePropagation = true;
}

void stopPropagation() #

inherited from Event
void stopPropagation() {
 _stopsPropagation = true;
}