kIsWeb top-level constant Null safety
A constant that is true if the application was compiled to run on the web.
Implementation
const bool kIsWeb = bool.fromEnvironment('dart.library.js_util');
A constant that is true if the application was compiled to run on the web.
const bool kIsWeb = bool.fromEnvironment('dart.library.js_util');