How do I know if platform is web in Flutter?

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! } 14 Eyl 2019

Sizin İçin Seçtik  Toplam ürünün değişken faktör miktarına bölünmesiyle ne bulunur?

Leave a Reply

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