enable lint avoid_field_initializers_in_const_classes (#18415)

This commit is contained in:
Alexandre Ardhuin
2018-06-13 07:20:18 +02:00
committed by GitHub
parent 587569337e
commit e45836f271
3 changed files with 5 additions and 5 deletions

View File

@@ -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