MethodChannelFlutterRefreshRate class
An implementation of FlutterRefreshRatePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterRefreshRatePlatform
- MethodChannelFlutterRefreshRate
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getActiveMode(
) → Future< DisplayMode> -
Returns the currently active display mode.
override
-
getPlatformVersion(
) → Future< String?> -
Returns the platform version string.
override
-
getSupportedModes(
) → Future< List< DisplayMode> > -
Returns a list of all supported display modes.
override
-
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited