CheckColorCallback typedef

CheckColorCallback = bool Function({required double currentQuote, required double previousQuote})

A callback function to say wether or not the color should be Positive or Negative.

Implementation

typedef CheckColorCallback =
    bool Function({
      required double previousQuote,
      required double currentQuote,
    });