1 | // Copyright 2014 The Flutter Authors. All rights reserved. |
---|---|
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | import '_capabilities_io.dart' |
6 | if (dart.library.js_util) '_capabilities_web.dart'as capabilities; |
7 | |
8 | /// Returns true if the application is using CanvasKit. |
9 | /// |
10 | /// Only to be used for web. |
11 | bool get isCanvasKit => capabilities.isCanvasKit; |
12 |