isSingleToolMode property

bool get isSingleToolMode

判断是否处于单一工具模式(由 config.lockToTool 决定)

Implementation

bool get isSingleToolMode => config.lockToTool != null;