Add the following metadata tag and intent filter inside the <activity> tag with .MainActivity

    Replace example.com with your own web domain.
    
 <meta-data android:name="flutter_deeplinking_enabled" android:value="true" />
 <intent-filter android:autoVerify="true">
     <action android:name="android.intent.action.VIEW" />
     <category android:name="android.intent.category.DEFAULT" />
     <category android:name="android.intent.category.BROWSABLE" />
     <data android:scheme="http" android:host="example.com" />
     <data android:scheme="https" />
 </intent-filter>
    
    
       Note:
  The metadata tag flutter_deeplinking_enabled opts into Flutter’s default deeplink handler. If
  you are using the third-party plugins, such as uni_links, setting this metadata tag will
  break these plugins. Omit this metadata tag if you prefer to use third-party plugins.