resizePoints property

  1. @override
List<ResizePoint> get resizePoints
override

Implementation

@override
List<ResizePoint> get resizePoints => [
      ResizePoint(
        offset: startOffset,
        onResize: (oldMouse, newMouse) {
          location = newMouse;
        },
      ),
      ResizePoint(
        offset: endOffset,
        onResize: (oldMouse, newMouse) {
          _endOffset = newMouse;
        },
      ),
    ];