mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Specs: fix copypasta in the WheelEvent constructor
Review URL: https://codereview.chromium.org/939043004
This commit is contained in:
parent
df6ded3b0d
commit
128ae1023b
@ -471,12 +471,11 @@ dials. Track balls are not reported as mouse wheels.
|
||||
|
||||
```dart
|
||||
class WheelEvent extends Event {
|
||||
PointerEvent({ bool bubbles,
|
||||
this.wheel,
|
||||
this.delta: 0.0,
|
||||
this.pointer,
|
||||
this.x, this.y,
|
||||
}): super(bubbles: bubbles);
|
||||
Event({ this.wheel,
|
||||
this.delta: 0.0,
|
||||
this.pointer,
|
||||
this.x, this.y,
|
||||
}): super();
|
||||
|
||||
final int wheel;
|
||||
final double delta; // revolutions (or fractions thereof)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user