misc library

Enums

DayNightCycleDirection
Enum to define the direction of the day/night cycle rotation
DayNightMode
Enum to define how the day/night cycle renders the night side

Functions

convertImageToUint32List(Image image) Future<Uint32List>
Converts the given image to a Uint32List.
isPointOnPath(Offset point, Path path, double pathWidth) bool
Checks if the given point lies on the specified path. Returns true if the point is on the path, otherwise returns false.
paintText(String title, TextStyle? textStyle, Offset cartesian2D, Size size, Canvas canvas) → void
Paints the specified title on the canvas at the given cartesian2D position.