trentpiercy / flutter-candlesticks

Elegant OHLC Candlestick and Trade Volume charts for @Flutter
https://pub.dev/packages/flutter_candlesticks
MIT License
427 stars 91 forks source link

The getter 'text' isn't defined for the class 'InlineSpan'. #23

Open LogicRepo opened 3 years ago

LogicRepo commented 3 years ago

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_candlesticks-0.1.4/lib/flutter_candlesticks.dart:190:57: Error: The getter 'text' isn't defined for the class 'InlineSpan'.


I'm getting this error. if anyone knows it , please help here.

Gdailyer commented 3 years ago

InlineSpan inlineSpan = gridLineTextPainters[0].text; width = size.width - inlineSpan.toPlainText().length * 6;

someshjadhwani24 commented 1 year ago

InlineSpan inlineSpan = gridLineTextPainters[0].text; width = size.width - inlineSpan.toPlainText().length * 6;

Hey , where do I add this piece of code to fix the issue?