Skip to content

Commit 419f023

Browse files
authored
[SliderTheme] Fix markdown links for api doc images (#152748)
Fixes incorrect syntax of image links for the api documentation of the following classes: - [RectangularSliderTrackShape](https://main-api.flutter.dev/flutter/material/RectangularSliderTrackShape-class.html) - [RoundedRectSliderTrackShape](https://main-api.flutter.dev/flutter/material/RoundedRectSliderTrackShape-class.html) - [RectangularRangeSliderTrackShape](https://main-api.flutter.dev/flutter/material/RectangularRangeSliderTrackShape-class.html) - [RoundedRectRangeSliderTrackShape](https://main-api.flutter.dev/flutter/material/RoundedRectRangeSliderTrackShape-class.html) - [RoundSliderTickMarkShape](https://main-api.flutter.dev/flutter/material/RoundSliderTickMarkShape-class.html) - [RoundRangeSliderTickMarkShape](https://main-api.flutter.dev/flutter/material/RoundRangeSliderTickMarkShape-class.html) - [RoundSliderThumbShape](https://main-api.flutter.dev/flutter/material/RoundSliderThumbShape-class.html) - [RoundRangeSliderThumbShape](https://main-api.flutter.dev/flutter/material/RoundRangeSliderThumbShape-class.html) - [RectangularSliderValueIndicatorShape](https://main-api.flutter.dev/flutter/material/RectangularSliderValueIndicatorShape-class.html) - [RectangularRangeSliderValueIndicatorShape](https://main-api.flutter.dev/flutter/material/RectangularRangeSliderValueIndicatorShape-class.html) - [PaddleSliderValueIndicatorShape](https://main-api.flutter.dev/flutter/material/PaddleSliderValueIndicatorShape-class.html) - [PaddleRangeSliderValueIndicatorShape](https://main-api.flutter.dev/flutter/material/PaddleRangeSliderValueIndicatorShape-class.html)
1 parent af834ee commit 419f023

File tree

1 file changed

+12
-24
lines changed

1 file changed

+12
-24
lines changed

packages/flutter/lib/src/material/slider_theme.dart

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,8 +1563,7 @@ mixin BaseSliderTrackShape {
15631563
///
15641564
/// {@macro flutter.material.SliderTrackShape.paint.trackSegment}
15651565
///
1566-
/// ![A slider widget, consisting of 5 divisions and showing the rectangular slider track shape.]
1567-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_slider_track_shape.png)
1566+
/// ![A slider widget, consisting of 5 divisions and showing the rectangular slider track shape.](https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_slider_track_shape.png)
15681567
///
15691568
/// See also:
15701569
///
@@ -1665,8 +1664,7 @@ class RectangularSliderTrackShape extends SliderTrackShape with BaseSliderTrackS
16651664
///
16661665
/// {@macro flutter.material.SliderTrackShape.paint.trackSegment}
16671666
///
1668-
/// ![A slider widget, consisting of 5 divisions and showing the rounded rect slider track shape.]
1669-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/rounded_rect_slider_track_shape.png)
1667+
/// ![A slider widget, consisting of 5 divisions and showing the rounded rect slider track shape.](https://flutter.github.io/assets-for-api-docs/assets/material/rounded_rect_slider_track_shape.png)
16701668
///
16711669
/// See also:
16721670
///
@@ -1857,8 +1855,7 @@ mixin BaseRangeSliderTrackShape {
18571855
///
18581856
/// {@macro flutter.material.RangeSliderTickMarkShape.paint.trackSegment}
18591857
///
1860-
/// ![A range slider widget, consisting of 5 divisions and showing the rectangular range slider track shape.]
1861-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_range_slider_track_shape.png)
1858+
/// ![A range slider widget, consisting of 5 divisions and showing the rectangular range slider track shape.](https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_range_slider_track_shape.png)
18621859
///
18631860
/// See also:
18641861
///
@@ -1945,8 +1942,7 @@ class RectangularRangeSliderTrackShape extends RangeSliderTrackShape with BaseRa
19451942
///
19461943
/// {@macro flutter.material.RangeSliderTickMarkShape.paint.trackSegment}
19471944
///
1948-
/// ![A range slider widget, consisting of 5 divisions and showing the rounded rect range slider track shape.]
1949-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/rounded_rect_range_slider_track_shape.png)
1945+
/// ![A range slider widget, consisting of 5 divisions and showing the rounded rect range slider track shape.](https://flutter.github.io/assets-for-api-docs/assets/material/rounded_rect_range_slider_track_shape.png)
19501946
///
19511947
/// See also:
19521948
///
@@ -2067,8 +2063,7 @@ class RoundedRectRangeSliderTrackShape extends RangeSliderTrackShape with BaseRa
20672063
/// [SliderThemeData.disabledActiveTrackColor],
20682064
/// [SliderThemeData.disabledInactiveTrackColor].
20692065
///
2070-
/// ![A slider widget, consisting of 5 divisions and showing the round slider tick mark shape.]
2071-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/rounded_slider_tick_mark_shape.png)
2066+
/// ![A slider widget, consisting of 5 divisions and showing the round slider tick mark shape.](https://flutter.github.io/assets-for-api-docs/assets/material/rounded_slider_tick_mark_shape.png)
20722067
///
20732068
/// See also:
20742069
///
@@ -2147,8 +2142,7 @@ class RoundSliderTickMarkShape extends SliderTickMarkShape {
21472142
/// [SliderThemeData.disabledActiveTrackColor],
21482143
/// [SliderThemeData.disabledInactiveTrackColor].
21492144
///
2150-
/// ![A slider widget, consisting of 5 divisions and showing the round range slider tick mark shape.]
2151-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/round_range_slider_tick_mark_shape.png )
2145+
/// ![A slider widget, consisting of 5 divisions and showing the round range slider tick mark shape.](https://flutter.github.io/assets-for-api-docs/assets/material/round_range_slider_tick_mark_shape.png)
21522146
///
21532147
/// See also:
21542148
///
@@ -2278,8 +2272,7 @@ class _EmptySliderComponentShape extends SliderComponentShape {
22782272
///
22792273
/// There is a shadow for the resting, pressed, hovered, and focused state.
22802274
///
2281-
/// ![A slider widget, consisting of 5 divisions and showing the round slider thumb shape.]
2282-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/round_slider_thumb_shape.png)
2275+
/// ![A slider widget, consisting of 5 divisions and showing the round slider thumb shape.](https://flutter.github.io/assets-for-api-docs/assets/material/round_slider_thumb_shape.png)
22832276
///
22842277
/// See also:
22852278
///
@@ -2394,8 +2387,7 @@ class RoundSliderThumbShape extends SliderComponentShape {
23942387
///
23952388
/// There is a shadow for the resting and pressed state.
23962389
///
2397-
/// ![A slider widget, consisting of 5 divisions and showing the round range slider thumb shape.]
2398-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/round_range_slider_thumb_shape.png)
2390+
/// ![A slider widget, consisting of 5 divisions and showing the round range slider thumb shape.](https://flutter.github.io/assets-for-api-docs/assets/material/round_range_slider_thumb_shape.png)
23992391
///
24002392
/// See also:
24012393
///
@@ -2568,8 +2560,7 @@ class RoundSliderOverlayShape extends SliderComponentShape {
25682560

25692561
/// The default shape of a [Slider]'s value indicator.
25702562
///
2571-
/// ![A slider widget, consisting of 5 divisions and showing the rectangular slider value indicator shape.]
2572-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_slider_value_indicator_shape.png)
2563+
/// ![A slider widget, consisting of 5 divisions and showing the rectangular slider value indicator shape.](https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_slider_value_indicator_shape.png)
25732564
///
25742565
/// See also:
25752566
///
@@ -2627,8 +2618,7 @@ class RectangularSliderValueIndicatorShape extends SliderComponentShape {
26272618

26282619
/// The default shape of a [RangeSlider]'s value indicators.
26292620
///
2630-
/// ![A slider widget, consisting of 5 divisions and showing the rectangular range slider value indicator shape.]
2631-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_range_slider_value_indicator_shape.png)
2621+
/// ![A slider widget, consisting of 5 divisions and showing the rectangular range slider value indicator shape.](https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_range_slider_value_indicator_shape.png)
26322622
///
26332623
/// See also:
26342624
///
@@ -2834,8 +2824,7 @@ class _RectangularSliderValueIndicatorPathPainter {
28342824
/// A variant shape of a [Slider]'s value indicator . The value indicator is in
28352825
/// the shape of an upside-down pear.
28362826
///
2837-
/// ![A slider widget, consisting of 5 divisions and showing the paddle slider value indicator shape.]
2838-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/paddle_slider_value_indicator_shape.png)
2827+
/// ![A slider widget, consisting of 5 divisions and showing the paddle slider value indicator shape.](https://flutter.github.io/assets-for-api-docs/assets/material/paddle_slider_value_indicator_shape.png)
28392828
///
28402829
/// See also:
28412830
///
@@ -2896,8 +2885,7 @@ class PaddleSliderValueIndicatorShape extends SliderComponentShape {
28962885
/// A variant shape of a [RangeSlider]'s value indicators. The value indicator
28972886
/// is in the shape of an upside-down pear.
28982887
///
2899-
/// ![A slider widget, consisting of 5 divisions and showing the paddle range slider value indicator shape.]
2900-
/// (https://flutter.github.io/assets-for-api-docs/assets/material/paddle_range_slider_value_indicator_shape.png)
2888+
/// ![A slider widget, consisting of 5 divisions and showing the paddle range slider value indicator shape.](https://flutter.github.io/assets-for-api-docs/assets/material/paddle_range_slider_value_indicator_shape.png)
29012889
///
29022890
/// See also:
29032891
///

0 commit comments

Comments
 (0)