Into your pubspec.yaml add the device_info package:
dependencies:
flutter:
sdk: flutter
device_info: ^2.0.3
in your dart code just add this and will see device information:
import 'pac
#void #initstate() #pubspec #device_info: #(platform
https://stackoverflow.com/questions/7... https://stackoverflow.com/questions/7...