Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

[Solved] Flutter package deprecation issue

researchthinker researchthinker

To resolve Flutter Package deprecation issue, while making build follow below steps :

Example: In this case this type of error occur , similarly in your case may be same or different packages create issues, to resolve this issue follow these steps

../../../.pub-cache/hosted/pub.dev/hashtager-1.0.4/lib/widgets/hashtag_text_field.dart:88:35: Error: The parameter ‘details’ of the method ‘_TextFieldSelectionGestureDetectorBuilder.onSingleTapUp’ has type ‘TapUpDetails’, which does not match the corresponding type, ‘TapDragUpDetails’, in the overridden method, ‘TextSelectionGestureDetectorBuilder.onSingleTapUp’.

Step 1: First clean the flutter application in android or iOS

      flutter clean cache 
      flutter clean

Step2 : Now Run pub get

     flutter pub get 
     pod install #for iOS

Step 3: Find the exact path of file where issue occurred:

       ../../../.pub-cache/hosted/pub.dev/hashtager-     1.0.4/lib/widgets/hashtag_text_field.dart:88:35:

Step 4: Enter Ctrl +Shift+ F in window | Cmd +Shift
+ Enter

      Search >>> "hashtag_text_field". in Directory or Import File

Step 5: Once you reached the exact library location then search TapUpDetails

Step 6: Replace TapUpDetails with TapDragUpDetails.

Step 7: Now, you can make build android /iOS

Note: If you clean Flutter application you need to to follow these steps again. If you are still facing the issue please comment with issue details

Leave a Reply

Your email address will not be published. Required fields are marked *

web_horizontal
About Us Disclaimer Privacy Policy Terms & Conditions Contact Us

Copyright © 2023 ResearchThinker.com. All rights reserved.