controllers/functions library

Functions

drawInitialPoint(Canvas canvas, Size size, Color color, double x, double y) → void
Method used to draw initial point and somethimes to test the draw of the points
drawTrackBall(Canvas canvas, Size size, double xTrackBall, int labelCount) → void
drawYAxis(Canvas canvas, Size size) List<int>
designs the y axis canvas: is the object we are going to draw size: is the size of the area where we are going to draw the function return an int list values in where will start building the markers of this axis
findNearValue(int xPos) int
vou pegar o inteiro da posição
getValuesFromActualTrackPosition(double xPos, double yPos, List<String> names) String
Método que pega na posição atual e vai buscar os valores para cada elemente nessa posição ou perto dela Resolver o erro, estou a escrever os mesmos valores para todos elementos na tooltip
returnPossibleValues(List<List<int>> values) → dynamic
setText(String text, Canvas canvas, Size size, Offset location, String axis) → void
showSnackBar(BuildContext context, String message, int error) → dynamic
showSomethingWentWrong(double hight, double width, String errorMessage1, String errorMessage2) Widget