kIsWeb top-level constant Null safety bool const kIsWeb. A constant that is true if the application was compiled to run on the web . This implementation takes advantage of the fact that JavaScript does not support integers. In this environment, Dart’s doubles and ints are backed by the same kind of object.