|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CallbackAction : UiWidgetAction { |
|
|
|
public class CallbackAction : UiWidgetAction { |
|
|
|
public CallbackAction(LocalKey intentKey, OnInvokeCallback onInvoke) : base(intentKey: intentKey) { |
|
|
|
D.assert(onInvoke != null); |
|
|
|
this.onInvoke = onInvoke; |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class ActionDispatcher : Diagnosticable { |
|
|
|
public class ActionDispatcher : Diagnosticable { |
|
|
|
public ActionDispatcher() { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
class Actions : InheritedWidget { |
|
|
|
public class Actions : InheritedWidget { |
|
|
|
public Actions( |
|
|
|
Key key = null, |
|
|
|
ActionDispatcher dispatcher = null, |
|
|
|