isCanvasKit top-level property

bool get isCanvasKit

Returns true if the application is using CanvasKit.

Only to be used for web.

Implementation

bool get isCanvasKit => capabilities.isCanvasKit;