Remove EventDisposition
All the use cases for EventDisposition are now addressed by the gesture detection system.
This commit is contained in:
@@ -190,11 +190,10 @@ class MineDiggerApp extends App {
|
||||
);
|
||||
}
|
||||
|
||||
EventDisposition handleToolbarPointerDown(sky.PointerEvent event) {
|
||||
void handleToolbarPointerDown(sky.PointerEvent event) {
|
||||
setState(() {
|
||||
resetGame();
|
||||
});
|
||||
return EventDisposition.processed;
|
||||
}
|
||||
|
||||
// User action. The user uncovers the cell which can cause losing the game.
|
||||
|
||||
Reference in New Issue
Block a user