Plugin obtain and show smartphone specifications. Use Android platform-specific implementations with Kotlin.
Example:
Add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
Now in Dart code you can use:
import 'package:mobile_info/mobile_info.dart';
https://github.com/Kam16yu/native_mobileInfoPlugin_Flutter/blob/master/example/lib/main.dart