flutter_device_friendly_name: ^0.1.0 copied to clipboard
Retrieve a friendly name for the current device.
Retrieve a device's friendly name, such as "Bob's iPhone" or "Galaxy S9 (Sarah)".
flutter_device_friendly_nameto your dependencies in
- Import via
FlutterDeviceFriendlyName.friendlyNamereturns a Future that resolves to your device name. This name might be empty, so be sure to have a fallback just in case.
example\lib\main.dart for sample code.