isCanvasKit top-level property

bool isCanvasKit

Returns true if the application is using CanvasKit.

Only to be used for web.

Implementation

bool get isCanvasKit => capabilities.isCanvasKit;