final textController = TextEditingController();

TextField(
  controller:textController,
  decoration:InputDecoration(...)
)

Error log:

W/System.err( 8349): java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.ClipData.getItemCount()' on a null object reference
W/System.err( 8349): at android.os.Parcel.readException(Parcel.java:1626) 
W/System.err( 8349): at android.os.Parcel.readException(Parcel.java:1573) 
W/System.err( 8349): at android.content.IClipboard$Stub$Proxy.getPrimaryClip(IClipboard.java:197) 
W/System.err( 8349): at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java:258) 
W/System.err( 8349): at io.flutter.plugin.platform.PlatformPlugin.getClipboardData(PlatformPlugin.java:274)

On lower Android API devices, it is giving me an error. I am using a Samsung j7 having Android 6. Help me out.