setSize abstract method
Method is used to specify the size of the icon.
width Width of the icon in pixels.
height Height of the icon in pixels.
Returns true if the operation is successful, false otherwise.
Example:
// Set icon size
bool sizeSuccess = _iconMapObject!.setSize(32.0, 32.0);
print("Set icon size to 32x32 pixels: $sizeSuccess");
Implementation
bool setSize(double width, double height);