emit_pressed property

  1. @protected
  2. @nonVirtual
void Function() emit_pressed
inherited

Implementation

@protected
@nonVirtual
void Function() get emit_pressed {
  Function? func = this.widget.$tryGetEmitHandler("pressed");
  //if (func == null) {
  //	return () {
  //	};
  //}
  //return func as void Function();

  return () {
    this.widget.$onEmitHandlerInvoked("pressed");
    func?.call();
  };
}