Giter VIP home page Giter VIP logo

Comments (6)

imaNNeo avatar imaNNeo commented on May 25, 2024 3

@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.

techouse avatar techouse commented on May 25, 2024 2

@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.

techouse avatar techouse commented on May 25, 2024 1

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.

SaqibWani273 avatar SaqibWani273 commented on May 25, 2024 1

I was having the similar issue. I then upgraded flutter using flutter upgrade and my issue got resolved.

from fl_chart.

ishanSiterecon avatar ishanSiterecon commented on May 25, 2024

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.

imaNNeo avatar imaNNeo commented on May 25, 2024

Fixed in the 0.66.0 release.

from fl_chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.