How do you check flutter web?

There is a global boolean kIsWeb which can tell you whether or not the app was compiled to run on the web. import ‘package:flutter/foundation. dart’ show kIsWeb; if (kIsWeb) { // running on the web! }

Sizin İçin Seçtik  Elektrikli araçlarda benzin kullanılır mı?

Leave a Reply

Your email address will not be published. Required fields are marked *