Skip to content

Commit f660fef

Browse files
FLUT-964629-[feature]: Updated images and code snippets for sliders
1 parent 3e917c3 commit f660fef

File tree

8 files changed

+6
-12
lines changed

8 files changed

+6
-12
lines changed
-11.9 KB
Loading

Flutter/range-selector/labels-and-divider.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ class Data {
614614

615615
## Individual label style
616616

617-
You can now customize the appearance of each label on the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) individually by using the [`onLabelCreated`] callback. This callback allows you to fully control the text and the TextStyle for each label.
617+
You can now customize the appearance of each label on the [`SfRangeSelector`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSelector-class.html) individually by using the `onLabelCreated` callback. This callback allows you to have complete control over the text and textStyle for each label.
618618

619619
{% tabs %}
620620
{% highlight Dart %}
@@ -653,13 +653,11 @@ You can now customize the appearance of each label on the [`SfRangeSelector`](ht
653653
(value == start || value == end)
654654
? const TextStyle(
655655
color: Colors.blue,
656-
fontSize: 12,
657-
fontStyle: FontStyle.italic,
656+
fontSize: 14,
658657
)
659658
: TextStyle(
660659
color: Colors.red[200],
661660
fontSize: 12,
662-
fontStyle: FontStyle.italic,
663661
),
664662
);
665663
},
320 Bytes
Loading
-70 Bytes
Loading

Flutter/range-slider/labels-and-divider.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ Widget build(BuildContext context) {
658658

659659
## Individual label style
660660

661-
You can now customize the appearance of each label on the [`SfRangeSlider`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSlider-class.html) individually by using the [`onLabelCreated`] callback. This callback allows you to fully control the text and the TextStyle for each label.
661+
You can now customize the appearance of each label on the [`SfRangeSlider`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfRangeSlider-class.html) individually by using the `onLabelCreated` callback. This callback allows you to have complete control over the text and textStyle for each label.
662662

663663
## Horizontal
664664

@@ -697,13 +697,11 @@ You can now customize the appearance of each label on the [`SfRangeSlider`](http
697697
(value == start || value == end)
698698
? const TextStyle(
699699
color: Colors.blue,
700-
fontSize: 12,
701-
fontStyle: FontStyle.italic,
700+
fontSize: 14,
702701
)
703702
: TextStyle(
704703
color: Colors.red[200],
705704
fontSize: 12,
706-
fontStyle: FontStyle.italic,
707705
),
708706
);
709707
},
-24 Bytes
Loading
136 Bytes
Loading

Flutter/slider/labels-and-divider.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ Widget build(BuildContext context) {
655655

656656
## Individual label style
657657

658-
You can customize the appearance of each label on the [`SfSlider`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfSlider-class.html) individually by using the [`onLabelCreated`] callback. This callback gives you full control over the text and the TextStyle for each label.
658+
You can customize the appearance of each label on the [`SfSlider`](https://pub.dev/documentation/syncfusion_flutter_sliders/latest/sliders/SfSlider-class.html) individually by using the `onLabelCreated` callback. This callback allows you to have complete control over the text and textStyle for each label.
659659

660660
### Horizontal
661661

@@ -691,13 +691,11 @@ You can customize the appearance of each label on the [`SfSlider`](https://pub.d
691691
actualValue == _value.toInt()
692692
? const TextStyle(
693693
color: Colors.blue,
694-
fontSize: 12,
695-
fontStyle: FontStyle.italic,
694+
fontSize: 14,
696695
)
697696
: TextStyle(
698697
color: Colors.red[200],
699698
fontSize: 12,
700-
fontStyle: FontStyle.italic,
701699
),
702700
);
703701
},

0 commit comments

Comments
 (0)