Issue Before switching to Flutter 2, I was using an old version of SharedPreferences without problems, and now I have the latest version.I was able to store values of type int in a separate class that I use from all
Continue readingCategory: Flutter
The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel<dynamic>'
Issue After running the Flutter project, I get this error. What can I do to solve it? Error: The method ‘setMockMessageHandler’ isn’t defined for the class ‘BasicMessageChannel<dynamic>’. FAILURE: Build failed with an exception. Solution I had the same problem after
Continue readingText underline display line above text instead of below
Issue As showing the given image After applying underline decoration text style to the text it shows line above text instead of below in flutter 2.2. TextButton( onPressed: () {}, child: Text( getLocalValue(context, txtTermsNConditions), style: TextStyle( fontSize: 12.sp, fontWeight: fwMedium,
Continue readingHow to integrate google mobile ads in flutter app
Issue Recently flutter announcing the release of Google Mobile Ads for Flutter a new SDK that works with AdMob and AdManager to offer a variety of ad formats, including banner, interstitial, native, and rewarded video ads for flutter And I want
Continue readingIssue in just_audio pugin in flutter
Issue I’m making a project in which when user click on button a timer will start and after user set time a sound will play for that I’m using just_audio: ^0.6.15+1 in my flutter project but it cause many issue
Continue readingFlutter: A value of type 'ListTileThemeData' can't be assigned to a variable of type 'ListTileTheme'
Issue I am posting this question to help future readers. After upgrading to Flutter 2.8 I suddenly got this error when trying to run my app: Flutter: A value of type ‘ListTileThemeData’ can’t be assigned to a variable of type
Continue readingFlutter: Undefined symbols for architecture arm64
Issue After migrating to null-safety and flutter 2 I get problem with ios build: I run flutter clean; rm ios/Podfile.lock pubspec.lock; rm -rf ios/Pods ios/Runner.xcworkspace; flutter run –flavor dev -t lib/main_dev.dart and got this logcat: Undefined symbols for architecture arm64:
Continue readingFlutter build release apk with no sound null safety?
Issue Debug apk works fine, release apk not working.. Tried flutter build apk –no-sound-null-safety it builds release apk but does not works. Solution Issue Solved!! Actually, the problem was with ‘http’ as SSL certificate was not included for the admin
Continue readingFlutter: How to implement State Management onPressed
Issue I have no idea how to change the state of my grid view when a button is clicked can someone help me with this? So, I have this textButton that should change the state of my grid view when
Continue reading