platform_detector
Platform Detector Package : With this package, you can identify your app is running on which platform. (Includes identification running on the web, mobile device, desktop, mobile browser, desktop browser, etc.)
Get started
Add dependency
dependencies:
platform_detector: ^0.1.1
Add import
import 'package:platform_detector/platform_detector.dart';
Add import (for using utils widgets see Example)
import 'package:platform_detector/widgets/platform_company_widget.dart';
import 'package:platform_detector/widgets/platform_name_widget.dart';
import 'package:platform_detector/widgets/platform_type_widget.dart';
import 'package:platform_detector/widgets/platform_matched_company_widget.dart';
import 'package:platform_detector/widgets/platform_matched_name_widget.dart';
import 'package:platform_detector/widgets/platform_matched_type_widget.dart';