isCanvasKit top-level property

bool get isCanvasKit

Whether the CanvasKit renderer is being used on web.

Always returns false on non-web.

Implementation

bool get isCanvasKit => context['flutterCanvasKit'] != null;