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

outdated

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.)

Language: [English]

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.0.2

simple to use #

import 'package:platform_detector/platform_detector.dart';

void getHttp() async {
  try {
    var response = await Dio().get('http://www.google.com');
    print(response);
  } catch (e) {
    print(e);
  }
}
9
likes
0
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

License

unknown (license)

Dependencies

flutter, universal_html

More

Packages that depend on platform_detector