Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
8d25ddde
Unverified
Commit
8d25ddde
authored
Feb 17, 2022
by
Kate Lovett
Committed by
GitHub
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated RectangularSliderTrackShape.disabledThumbGapWidth (#98613)
parent
ac1fc234
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
19 deletions
+1
-19
slider_theme.dart
packages/flutter/lib/src/material/slider_theme.dart
+1
-19
No files found.
packages/flutter/lib/src/material/slider_theme.dart
View file @
8d25ddde
...
...
@@ -1524,25 +1524,7 @@ mixin BaseSliderTrackShape {
/// * [RoundedRectSliderTrackShape], for a similar track with rounded edges.
class
RectangularSliderTrackShape
extends
SliderTrackShape
with
BaseSliderTrackShape
{
/// Creates a slider track that draws 2 rectangles.
const
RectangularSliderTrackShape
({
@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.26.0-18.0.pre.'
,
)
this
.
disabledThumbGapWidth
=
2.0
,
});
/// Horizontal spacing, or gap, between the disabled thumb and the track.
///
/// This is only used when the slider is disabled. There is no gap around
/// 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.26.0-18.0.pre.'
,
)
final
double
disabledThumbGapWidth
;
const
RectangularSliderTrackShape
();
@override
void
paint
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment