setBuffer abstract method
Method is used to specify the buffer size around the icon for collision detection.
width Width of the buffer in pixels. Default: 0.
height Height of the buffer in pixels. Default: 0.
Returns true if the operation is successful, false otherwise.
Example:
// Set collision buffer
bool bufferSuccess = _iconMapObject!.setBuffer(10.0, 10.0);
print("Set collision buffer to 10x10 pixels: $bufferSuccess");
Implementation
bool setBuffer(double width, double height);