NativeTranslatorPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- NativeTranslatorPlatform
- Implementers
Constructors
- NativeTranslatorPlatform()
- Constructs a NativeTranslatorPlatform.
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
-
getPlatformVersion(
) → Future< String?> -
isSupported(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translateText(
{required String text, int backgroundColorRed = 255, int backgroundColorGreen = 255, int backgroundColorBlue = 255, int backgroundColorAlpha = 255}) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ NativeTranslatorPlatform
-
The default instance of NativeTranslatorPlatform to use.
getter/setter pair