Skip to content

Commit 9763ed4

Browse files
author
Robin John
committed
[Issue 196] Error from Building
Replace needsRotateLabels to canRotateLabels
1 parent fbf41ae commit 9763ed4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
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,

0 commit comments

Comments
 (0)