COPY NOT Definded for image_picker getImage code example
Example 1: image picker
dependencies:
image_picker: ^0.6.7+12
Example 2: info: 'pickImage' is deprecated and shouldn't be used. Use imagePicker.getImage() method instead.. (deprecated_member_use at [totem_service_app] lib/ui_screens/Work Order Report Screen.dart:274)
new ListTile( leading: new Icon( Icons.photo_library, ), title: new Text( 'Galary', onTap: () async { final tmpFile = await getImage(2); setState(() { imageFile = tmpFile; }); }),