magic_canvas_with_image_export library
Classes
Functions
-
calculatedAfterAdjustSize(
Size image, Size minimumSizeOfImage, Size currentSize) → Size -
calculatedSize(
Size image) → Size -
calculateMiddleSegment(
int totalWidth, int segmentWidth) → int -
calculateNewHeight(
double originalWidth, double originalHeight, double newWidth) → double -
calculateNewWidth(
double originalWidth, double originalHeight, double newHeight) → double
Typedefs
- MouseDownCallback = dynamic Function(Offset location, VoidCallback defaultHandle)
- MouseDownCompleteCallback = dynamic Function(Offset location)
- MouseLocationCallback = dynamic Function(Offset location)
- MouseUpCompleteCallback = dynamic Function()
- OnWidgetSizeChange = void Function(Size size)
- RemoveShapeCallback = dynamic Function(AbstractShape shape)
- ResizeCallback = dynamic Function(Offset oldMouse, Offset newMouse)
- SelectShapeCallback = dynamic Function(AbstractShape? shape)