Uint8List

FlValue(uint8_t*)

Int32List

FlValue(int32_t*)

Int64List

FlValue(int64_t*)

Float32List

FlValue(float*)

Float64List

FlValue(double*)

List

FlValue(FlValue)

Map

FlValue(FlValue, FlValue)

Example: Calling platform-specific code using platform channels

The following code demonstrates how to call
a platform-specific API to retrieve and display
the current battery level.  It uses
the Android BatteryManager API,
the iOS device.batteryLevel API,
the Windows GetSystemPowerStatus API,
and the Linux UPower API with a single
platform message, getBatteryLevel().