RCHowell / Flutter-Plot

A pretty plotting package for Flutter apps

Home Page:https://pub.dartlang.org/packages/flutter_plot#-readme-tab-

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library not work

akbarraihan opened this issue · comments

when i run the project, the messages is show like that

Lookup the value of PI to six decimals (I think, maybe more) and replace that PI constant with your own PI variable.

@RaulMarquezInclan that's what the pi constant in the standard library is for

@akbarraihan this was written some time ago, and the dart language has changed a bit. The PI constant was redefined to just "pi". See here -- dart:math

This is a great opportunity to make a pull request! Please do not do what Raul suggested.

Is this issue going to be solved? I am in the need of using this library and would be happy if it was solved.

UPDATE:
I just noticed how easy it was to change the variable PI to pi, thank you anyways, great plot!

@RCHowell
Hi!
I prepared pull request with a solution of this issue
#4