Comments (6)
@imaNNeo a Flutter/Dart SDK version constraint should probably be added to 0.65.0 to avoid this issue, i.e.
environment: sdk: ^3.2.0 flutter: ^3.16.0
You're right. I forgot to do that.
Sorry about that guys, please downgrade your fl_chart version to the previous version, or upgrade your flutter to the latest version to use the latest fl_chart version.
from fl_chart.
@imaNNeo a Flutter/Dart SDK version constraint should probably be added to 0.65.0 to avoid this issue, i.e.
environment:
sdk: ^3.2.0
flutter: ^3.16.0
from fl_chart.
I get something simlar with Flutter v3.13.9.
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.
I assume TextScaler
only became available in 3.16.0
from fl_chart.
I was having the similar issue. I then upgraded flutter using flutter upgrade
and my issue got resolved.
from fl_chart.
I am facing a similar issue, I tried a custom widget in Flutterflow. I was using the "import 'package:fl_chart/fl_chart.dart';" package and it worked fine but since yesterday or so, I have been facing issues in deploying the same custom widget which worked earlier.
errors:
"bar_chart_renderer.dart:42:5: Error: Type 'TextScaler' not found.
TextScaler textScaler,"
"line_chart_renderer.dart:75:18: Error: Type 'TextScaler' not found.
set textScaler(TextScaler value) {"
"radar_chart_renderer.dart:74:18: Error: Type 'TextScaler' not found.
set textScaler(TextScaler value) {"
It seems like a library dependency issue because it is trying to search textScaler in even charts I am not using like radar. Also, it was working earlier for me. I am using Flutter 3.17.7 Flutterflow v4.0 (above suggestion did not helped for me)
from fl_chart.
Fixed in the 0.66.0 release.
from fl_chart.
Related Issues (20)
- Draw a order around each sector HOT 1
- Exception: indicatorsData and touchedSpotOffsets size should be same. need help pls. HOT 2
- Ability to set different colors for parts of the line from a line chart HOT 1
- What is best way for make slider change y axis with fl_chart HOT 1
- Side titles are not placed the same way when values are translated
- How to customize LineTooltipItem
- NullSpot's isNull broken when using copyWith HOT 1
- Discrepancy in documentation
- Specify GraphArea height for barChart
- [Feature Request] Ability to replace LineTouchTooltipData widget HOT 5
- Programmatically display the tooltip for a given X value HOT 2
- I need to get offset extraLines of BarChart when touch it HOT 1
- How can I set the bottom title with the date and interval by time? HOT 2
- PieChart centerSpace disapearing HOT 3
- I can't find how to disable linechart's default animation. HOT 2
- Is the interval of SideTitles invalid for BarChart?
- Line Chart tooltip on only certain lines HOT 6
- Thorny LineChart HOT 5
- Is there a provision to change size of FlSpot? HOT 1
- TouchedSpotIndicator duplicates when updating chart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fl_chart.