Skip to content

Commit 29f2d2c

Browse files
Merge pull request #198 from robinjohn/Issue-196
Update sample "flutter-examples"
2 parents 7cdf821 + 9763ed4 commit 29f2d2c

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

lib/samples/gauge/animation/radial_easeanimation.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ SfRadialGauge getRadialEaseExample() {
4646
fontSize: isCardView ? 10 : 12, fontWeight: FontWeight.w500),
4747
labelOffset: 25,
4848
interval: isCardView ? 1 : _interval,
49-
needsRotateLabels: true,
49+
canRotateLabels: true,
5050
annotations: <GaugeAnnotation>[
5151
GaugeAnnotation(
5252
positionFactor: 1,

lib/samples/gauge/animation/radial_slowmiddle.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SfRadialGauge getRadialSlowMiddleAnimation() {
3333
minimum: 0,
3434
maximum: 12,
3535
interval: 1,
36-
needsRotateLabels: true,
36+
canRotateLabels: true,
3737
majorTickStyle: MajorTickStyle(
3838
length: 0.15, lengthUnit: GaugeSizeUnit.factor, thickness: 1.5),
3939
minorTicksPerInterval: 4,

lib/samples/gauge/axis_feature/custom_labels.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Widget getGaugeCustomLabels() {
3737
axisLineStyle: AxisLineStyle(
3838
thicknessUnit: GaugeSizeUnit.factor, thickness: 0.1),
3939
interval: 10,
40-
needsRotateLabels: true,
40+
canRotateLabels: true,
4141
axisLabelStyle: GaugeTextStyle(fontSize: 12),
4242
minorTicksPerInterval: 0,
4343
majorTickStyle: MajorTickStyle(

lib/samples/gauge/axis_feature/multiple_axis.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class _MultipleAxisExampleState extends SampleViewState {
5252
? isCardView ? 0.5 : 0.6
5353
: 0.5,
5454
labelOffset: 15,
55-
needsRotateLabels: true,
55+
canRotateLabels: true,
5656
minorTickStyle: MinorTickStyle(
5757
color: const Color(0xFF00A8B5),
5858
thickness: 1.5,

lib/samples/gauge/axis_feature/tick_customization.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SfRadialGauge getRadialTickCustomization() {
3030
showLastLabel: false,
3131
startAngle: 270,
3232
endAngle: 270,
33-
needsRotateLabels: true,
33+
canRotateLabels: true,
3434
labelsPosition: ElementsPosition.outside,
3535
axisLabelStyle: GaugeTextStyle(fontSize: 12),
3636
majorTickStyle: MajorTickStyle(

lib/samples/gauge/ranges/range_thickness.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SfRadialGauge getRangeThicknessExampleGauge() {
3030
ticksPosition: ElementsPosition.outside,
3131
labelsPosition: ElementsPosition.outside,
3232
radiusFactor: 0.9,
33-
needsRotateLabels: true,
33+
canRotateLabels: true,
3434
majorTickStyle: MajorTickStyle(
3535
length: 0.1,
3636
thickness: 1.5,

lib/samples/gauge/showcase/gauge_compass.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class _GaugeCompassExampleState extends SampleViewState {
3636
showAxisLine: false,
3737
radiusFactor: 1,
3838
showLastLabel: false,
39-
needsRotateLabels: true,
39+
canRotateLabels: true,
4040
tickOffset: 0.32,
4141
offsetUnit: GaugeSizeUnit.factor,
4242
onLabelCreated: _axisLabelCreated,

pubspec.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ dependencies:
1616
url_launcher: ^5.0.3
1717
intl: ^0.16.0
1818
path_provider: ^1.6.1
19-
syncfusion_flutter_datagrid: ^18.2.44
20-
syncfusion_flutter_calendar: ^18.2.44-beta
21-
syncfusion_flutter_datepicker: ^18.2.44-beta
22-
syncfusion_flutter_charts: ^18.2.44
23-
syncfusion_flutter_gauges: ^18.2.44
24-
syncfusion_flutter_sliders: ^18.2.44-beta
25-
syncfusion_flutter_pdf: ^18.2.44-beta
26-
syncfusion_flutter_barcodes: ^18.2.44-beta
27-
syncfusion_flutter_maps: ^18.2.44-beta
19+
syncfusion_flutter_datagrid: ^18.2.56-beta
20+
syncfusion_flutter_calendar: ^18.2.56
21+
syncfusion_flutter_datepicker: ^18.2.56-beta
22+
syncfusion_flutter_charts: ^18.2.56
23+
syncfusion_flutter_gauges: ^18.2.56
24+
syncfusion_flutter_sliders: ^18.2.56-beta
25+
syncfusion_flutter_pdf: ^18.2.56-beta
26+
syncfusion_flutter_barcodes: ^18.2.56-beta
27+
syncfusion_flutter_maps: ^18.2.56-beta
2828

2929
flutter:
3030
uses-material-design: true

0 commit comments

Comments
 (0)