platform_detector 0.1.1 copy "platform_detector: ^0.1.1" to clipboard
platform_detector: ^0.1.1 copied to clipboard

by using this package you can Detection the platform on which the application is running.(identification Run From web,mobile device,desktop,mobile browser,desktop browser,etc.)

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';
9
likes
150
pub points
85%
popularity

Publisher

verified publisherea2.dev

by using this package you can Detection the platform on which the application is running.(identification Run From web,mobile device,desktop,mobile browser,desktop browser,etc.)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, universal_html

More

Packages that depend on platform_detector