| 22 | } |
| 23 | |
| 24 | pub struct AnimationOptions { |
| 25 | /// The animation duration in ms. |
| 26 | pub duration: usize, |
| 27 | |
| 28 | /// String|EasingFunction - Name of a predefined easing function or an |
| 29 | /// easing function itself. |
| 30 | /// |
| 31 | /// See [animation.dart] for the full list of predefined functions. |
| 32 | pub easing: String, |
| 33 | |
| 34 | /// () -> fn - The function that is called when the animation is complete. |
| 35 | pub on_end: Option<fn()>, |
| 36 | } |
| 37 | |
| 38 | pub struct LegendOptions<'a> { |
| 39 | /// (String label) -> String - A function that format the labels. |
nothing calls this directly
no outgoing calls
no test coverage detected