enable lint avoid_field_initializers_in_const_classes (#18415)
This commit is contained in:
committed by
GitHub
parent
587569337e
commit
e45836f271
@@ -176,7 +176,7 @@ abstract class PointerEvent {
|
||||
final double distance;
|
||||
|
||||
/// The minimum value that a distance can return for this pointer (always 0.0).
|
||||
final double distanceMin = 0.0;
|
||||
double get distanceMin => 0.0;
|
||||
|
||||
/// The maximum value that a distance can return for this pointer. If this
|
||||
/// input device cannot detect "hover touch" input events, then this will be
|
||||
|
||||
Reference in New Issue
Block a user