OpenIoTHubPluginLocalizations class abstract

Callers can lookup localized strings with an instance of OpenIoTHubPluginLocalizations returned by OpenIoTHubPluginLocalizations.of(context).

Applications need to include OpenIoTHubPluginLocalizations.delegate() in their app's localizationDelegates list, and the locales they support in the app's supportedLocales list. For example:

import 'generated/openiothub_plugin_localizations.dart';

return MaterialApp(
  localizationsDelegates: OpenIoTHubPluginLocalizations.localizationsDelegates,
  supportedLocales: OpenIoTHubPluginLocalizations.supportedLocales,
  home: MyApplicationHome(),
);

Update pubspec.yaml

Please make sure to update your pubspec.yaml to include the following packages:

dependencies:
  # Internationalization support.
  flutter_localizations:
    sdk: flutter
  intl: any # Use the pinned version from flutter_localizations

  # Rest of dependencies

iOS Applications

iOS applications define key application metadata, including supported locales, in an Info.plist file that is built into the application bundle. To configure the locales supported by your app, you’ll need to edit this file.

First, open your project’s ios/Runner.xcworkspace Xcode workspace file. Then, in the Project Navigator, open the Info.plist file under the Runner project’s Runner folder.

Next, select the Information Property List item, select Add Item from the Editor menu, then select Localizations from the pop-up menu.

Select and expand the newly-created Localizations item then, for each locale your application supports, add a new item and select the locale you wish to add from the pop-up menu in the Value field. This list should be consistent with the languages listed in the OpenIoTHubPluginLocalizations.supportedLocales property.

Implementers

Properties

above_mentioned_ssh_password String
No description provided for @above_mentioned_ssh_password.
no setter
add String
No description provided for @add.
no setter
add_gateway_failed String
No description provided for @add_gateway_failed.
no setter
add_gateway_success String
No description provided for @add_gateway_success.
no setter
add_onvif_camera String
No description provided for @add_onvif_camera.
no setter
app_title String
No description provided for @app_title.
no setter
cancel String
No description provided for @cancel.
no setter
confirm String
No description provided for @confirm.
no setter
confirm_delete_device String
No description provided for @confirm_delete_device.
no setter
confirm_delete_onvif_device String
No description provided for @confirm_delete_onvif_device.
no setter
confirm_gateway_connect_this_server String
No description provided for @confirm_gateway_connect_this_server.
no setter
connect String
No description provided for @connect.
no setter
custom_name String
No description provided for @custom_name.
no setter
delete String
No description provided for @delete.
no setter
delete_device String
No description provided for @delete_device.
no setter
delete_success String
No description provided for @delete_success.
no setter
device_info String
No description provided for @device_info.
no setter
device_ip String
No description provided for @device_ip.
no setter
device_model String
No description provided for @device_model.
no setter
device_name String
No description provided for @device_name.
no setter
device_port String
No description provided for @device_port.
no setter
effect String
No description provided for @effect.
no setter
email String
No description provided for @email.
no setter
firmware_author String
No description provided for @firmware_author.
no setter
firmware_repository String
No description provided for @firmware_repository.
no setter
firmware_url String
No description provided for @firmware_url.
no setter
firmware_version String
No description provided for @firmware_version.
no setter
gateway_already_added String
No description provided for @gateway_already_added.
no setter
get_gateway_login_status_failed String
No description provided for @get_gateway_login_status_failed.
no setter
hashCode int
The hash code for this object.
no setterinherited
home_page String
No description provided for @home_page.
no setter
humidity String
No description provided for @humidity.
no setter
input_new_device_name String
No description provided for @input_new_device_name.
no setter
is_local String
No description provided for @is_local.
no setter
linux_username String
No description provided for @linux_username.
no setter
localeName String
final
login String
No description provided for @login.
no setter
login_failed String
No description provided for @login_failed.
no setter
mac_addr String
No description provided for @mac_addr.
no setter
mdns_info String
No description provided for @mdns_info.
no setter
me String
No description provided for @me.
no setter
modify String
No description provided for @modify.
no setter
modify_device_name String
No description provided for @modify_device_name.
no setter
name String
No description provided for @name.
no setter
no String
No description provided for @no.
no setter
off String
No description provided for @off.
no setter
on String
No description provided for @on.
no setter
onvif_camera String
No description provided for @onvif_camera.
no setter
onvif_camera_manager String
No description provided for @onvif_camera_manager.
no setter
onvif_device_host_port String
No description provided for @onvif_device_host_port.
no setter
onvif_password String
No description provided for @onvif_password.
no setter
onvif_username String
No description provided for @onvif_username.
no setter
password String
No description provided for @password.
no setter
please_input_linux_login_info String
No description provided for @please_input_linux_login_info.
no setter
please_input_message String
No description provided for @please_input_message.
no setter
please_input_password String
No description provided for @please_input_password.
no setter
please_input_user_name String
No description provided for @please_input_user_name.
no setter
rdp_remote_desktop String
No description provided for @rdp_remote_desktop.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
select_server_for_gateway String
No description provided for @select_server_for_gateway.
no setter
serial_port String
No description provided for @serial_port.
no setter
setting_name String
No description provided for @setting_name.
no setter
speed String
No description provided for @speed.
no setter
ssh_password String
No description provided for @ssh_password.
no setter
start_ota String
No description provided for @start_ota.
no setter
switch_bottom String
No description provided for @switch_bottom.
no setter
switch_control String
No description provided for @switch_control.
no setter
temperature String
No description provided for @temperature.
no setter
upgrade_firmware String
No description provided for @upgrade_firmware.
no setter
username String
No description provided for @username.
no setter
username_and_password_cant_be_empty String
No description provided for @username_and_password_cant_be_empty.
no setter
web_browser String
No description provided for @web_browser.
no setter
x_addr_addr String
No description provided for @x_addr_addr.
no setter
yes String
No description provided for @yes.
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

Static Methods

of(BuildContext context) OpenIoTHubPluginLocalizations

Constants

delegate → const LocalizationsDelegate<OpenIoTHubPluginLocalizations>
localizationsDelegates → const List<LocalizationsDelegate>
A list of this localizations delegate along with the default localizations delegates.
supportedLocales → const List<Locale>
A list of this localizations delegate's supported locales.