FlutterRefreshRatePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterRefreshRatePlatform
Implementers

Constructors

FlutterRefreshRatePlatform()
Constructs a FlutterRefreshRatePlatform.

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

getActiveMode() Future<DisplayMode>
Returns the currently active display mode.
getPlatformVersion() Future<String?>
Returns the platform version string.
getSupportedModes() Future<List<DisplayMode>>
Returns a list of all supported display modes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPreferredMode(int modeId) Future<bool>
Sets the preferred display mode by mode ID.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FlutterRefreshRatePlatform
The default instance of FlutterRefreshRatePlatform to use.
getter/setter pair