Issue I have an UI with a TabBar and a button on each screen (I’m using the package ScaleTap for the button https://pub.dev/packages/flutter_scale_tap) I noticed that when I swipe through the pages on the TabBar very quickly, I get the
Continue readingTag: flutter-dependencies
Exception has occurred. _TypeError (type 'List<String>' is not a subtype of type 'String')
Issue I’m trying to send a list from one page to another page in Flutter. I was able to see my list in Text first, but I couldn’t add it to a Wheel of Fortune using flutter_fortune_wheel 1.2.I couldn’t understand
Continue readingI am learning flutter from a book that seems outdated. What is the modern way of implementing this code?
Issue //VS code reads the error: The function can’t be unconditionally invoked because it can be ‘null’. Future<void> sendEmailVerification() async { User user = await _firebaseAuth.currentUser(); user.sendEmailVerification(); } ` adding a null check Future<String> currentUserUid() async { User user =
Continue readingFlutter: How to create a custom TextFormField which can … , and also how to validate it?
Issue I am trying to create a custom TextFormField which can switch between Email / Phone / ID on Suffix icon click, but I don’t know how to validate it based on its current state (Email / Phone / ID).
Continue readingFlutter _JsonQuerySnapshot' has no instance method '[]'
Issue I have collection for Users and groups, I want to display list of last update groups. But, the user uid must be stay in member field(array) of group Collection. So, I use StreamBuilder and get snapshot like this, FirebaseFirestore.instance
Continue readingRun local HTML, CSS & JS in Flutter Web
Issue So I’m trying to run local HTML, JS, CSS from flutter Web. I figured out that you usually could use flutter Web View plus, but it isn’t compatible with Web. I also figured out that it isn’t a big
Continue readingGetting error in flutter compilation like : carousel_slider-4.2.0/lib/carousel_slider.dart:311:29: Error: Member not found: 'trackpad'
Issue I am getting error while compiling flutter app Anyone can help? Here is full error : /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/carousel_slider-4.2.0/lib/carousel_slider.dart:311:29: Error: Member not found: ‘trackpad’. PointerDeviceKind.trackpad Here are dependencies from yaml file ` version: 1.0.0+1 environment: sdk: ">=2.16.2 <3.0.0" dependencies: flutter: sdk:
Continue readingThe method 'IOSInitializationSettings' isn't defined using local notification plugin
Issue flutter_local_notifications: ^11.0.0 I used this library but I can find IOSInitializationSettings please help me. I m trying to integrate push notifications into my flutter app. Solution From the flutter_local_notifications docs, version 10.0 has the following breaking changes: iOS and
Continue readingflutter calling bottom sheet and popup from bottom sheet and refresh first screen
Issue I used the bottom sheet and I’m using navigator.pop on the button inside the bottom sheet but want to refresh the first screen when calling popup… code showModalBottomSheet( context: context, builder: (BuildContext bc) { return Container( child: Wrap( children:
Continue readingFlutter GetX Snackbar Actions
Issue I was wondering how to implement GetX’s Snackbar but with actions. I know how to write SnackbarActions on the usual ScaffoldSnackbar provided with Flutter. I was wondering if there was a way to get this same functionality in GetX’s
Continue reading