DeviceInfoPlugin class

Provides device and operating system information.

Constructors

DeviceInfoPlugin()
No work is done when instantiating the plugin. It's safe to call this repeatedly or in performance-sensitive blocks.

Properties

androidInfo Future<AndroidDeviceInfo>
Information derived from android.os.Build.
no setter
deviceInfo Future<BaseDeviceInfo>
Returns device information for the current platform.
no setter
hashCode int
The hash code for this object.
no setterinherited
iosInfo Future<IosDeviceInfo>
Information derived from UIDevice.
no setter
linuxInfo Future<LinuxDeviceInfo>
Information derived from /etc/os-release.
no setter
macOsInfo Future<MacOsDeviceInfo>
Returns device information for macos. Information sourced from Sysctl.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webBrowserInfo Future<WebBrowserInfo>
Information derived from Navigator.
no setter
windowsInfo Future<WindowsDeviceInfo>
Returns device information for Windows.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited