mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
🏷 Backport some code improvements from the null-safety branch (#603)
This commit is contained in:
@ -11,7 +11,9 @@ mixin MultiTouchTapDetector on Game {
|
||||
}
|
||||
|
||||
class DragEvent extends Drag {
|
||||
Offset initialPosition;
|
||||
final Offset initialPosition;
|
||||
|
||||
DragEvent(this.initialPosition);
|
||||
|
||||
void Function(DragUpdateDetails) onUpdate;
|
||||
void Function() onCancel;
|
||||
|
||||
Reference in New Issue
Block a user