Deprecated unused property [RectangularSliderTrackShape.disabledThumbGapWidth] (#65246)

This commit is contained in:
xubaolin
2020-11-18 08:18:34 +08:00
committed by GitHub
parent be44d36ca0
commit d8167b90e2

View File

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