SelectionProperties constructor
- {Color color = const Color(0xFF00FFFF)}
Creates a new selection properties object with the specified color.
Parameters:
color
— The selection color.
Implementation
factory SelectionProperties({Color color = const Color(0xFF00FFFF)}) {
_initializeArcGISEnvironmentIfNeeded();
final coreColor = color.toArcGIS();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_SelectionProperties_createWithColor(
coreColor._handle, errorHandler);
});
final SelectionProperties object = SelectionProperties._withHandle(handle);
object._color.cache(color);
return object;
}