misc library
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 specifiedpath
. 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 thecanvas
at the givencartesian2D
position.