ScreenHelperPlatform class abstract

The interface that implementations of screen_helper must implement.

Inheritance
  • Object
  • PlatformInterface
  • ScreenHelperPlatform
Implementers

Constructors

ScreenHelperPlatform.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getScreenResolution() Future<Map<String, double>?>
Returns the screen resolution in pixels (width and height).
getScreenSizeInInches() Future<Map<String, double>?>
Returns the screen size in inches (width and height).
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

Static Properties

instance ScreenHelperPlatform
getter/setter pair