From d8167b90e26038b4290331e555211e781e0cddea Mon Sep 17 00:00:00 2001 From: xubaolin Date: Wed, 18 Nov 2020 08:18:34 +0800 Subject: [PATCH] Deprecated unused property [RectangularSliderTrackShape.disabledThumbGapWidth] (#65246) --- packages/flutter/lib/src/material/slider_theme.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/flutter/lib/src/material/slider_theme.dart b/packages/flutter/lib/src/material/slider_theme.dart index 15c41833c7..f1d124c230 100644 --- a/packages/flutter/lib/src/material/slider_theme.dart +++ b/packages/flutter/lib/src/material/slider_theme.dart @@ -1495,6 +1495,10 @@ class RectangularSliderTrackShape extends SliderTrackShape with BaseSliderTrackS /// the thumb and any part of the track when the slider is enabled. The /// Material spec defaults this gap width 2, which is half of the disabled /// thumb radius. + @Deprecated( + 'It no longer has any effect because the thumb does not shrink when the slider is disabled now. ' + 'This feature was deprecated after v1.5.7.' + ) final double disabledThumbGapWidth; @override