android:windowSoftInputMode=

"adjustResize"

<!-- ... -->

<intent-filter>

<action

android:name=

"android.intent.action.SEND"

/>

<category

android:name=

"android.intent.category.DEFAULT"

/>

<data

android:mimeType=

"text/plain"

/>

</intent-filter>

</activity>

Then in MainActivity, handle the intent, extract the text that was
shared from the intent, and hold onto it. When Flutter is ready to process,
it requests the data using a platform channel, and it’s sent
across from the native side:

package

com.example.shared

import