Closed mauricev closed 11 months ago
facing the same issue
../../.pub-cache/hosted/pub.dev/fl_chart-0.65.0/lib/src/chart/scatter_chart/scatter_chart_renderer.dart:50:5: Error: Type 'TextScaler' not found. TextScaler textScaler, ^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/fl_chart-0.65.0/lib/src/chart/scatter_chart/scatter_chart_renderer.dart:75:3: Error: Type 'TextScaler' not found. TextScaler get textScaler => _textScaler; ^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/fl_chart-0.65.0/lib/src/chart/scatter_chart/scatter_chart_renderer.dart:76:3: Error: Type 'TextScaler' not found. TextScaler _textScaler; ^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/fl_chart-0.65.0/lib/src/chart/scatter_chart/scatter_chart_renderer.dart:78:18: Error: Type 'TextScaler' not found. set textScaler(TextScaler value) { ^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/fl_chart-0.65.0/lib/src/chart/scatter_chart/scatter_chart_renderer.dart:27:32: Error: The getter 'textScaler' isn't defined for the class 'MediaQueryData'.
the above issue is not happening in 0.64.0 version
Duplicate of #1509
TextScaler was introduced in Flutter 3.16.0. Either upgrade you Flutter SDK to 3.16.0 up or use the previous 0.64.0 version.
../../.pub-cache/hosted/pub.dev/fl_chart-0.65.0/lib/src/chart/scatter_chart/scatter_chart_renderer.dart:50:5: Error: Type 'TextScaler' not found. I am facing the same issue with version 0.65.0, but it works fine in version 0.64.0.
When building on iOS with 0.65.0, I get
Error (Xcode): ../../../../.pub-cache/hosted/pub.dev/fl_chart-0.65.0/lib/src/chart/bar_chart/bar_chart_renderer.dart:42:5: Error: Type 'TextScaler' not found.
0.64.0 doesn’t have this error.