|
|
|
|
|
|
using System; |
|
|
|
using Unity.UIWidgets.foundation; |
|
|
|
using Unity.UIWidgets.gestures; |
|
|
|
using Unity.UIWidgets.painting; |
|
|
|
using Unity.UIWidgets.rendering; |
|
|
|
using Unity.UIWidgets.ui; |
|
|
|
|
|
|
onHighlightChanged: this._handleHighlightChanged, |
|
|
|
splashColor: this.widget.splashColor, |
|
|
|
highlightColor: this.widget.highlightColor, |
|
|
|
onTap: () => { |
|
|
|
onTap: this.widget.onPressed == null ? (GestureTapCallback) null : () => { |
|
|
|
if (this.widget.onPressed != null) { |
|
|
|
this.widget.onPressed(); |
|
|
|
} |
|
|
|