Issue I am fetching phone contacts where it gives the list of contacts. From the list I want only a few properties like display name, email and phone contacts only. How can we get only those properties from the contact
Continue readingTag: dart-pub
How to debug the supabase_flutter repository and other melos based monorepos locally?
Issue I’m trying to debug the supabase_flutter repository locally. Their is some functionality within the packages, that I can test best within an app I’m working on. Therefore I’m trying to use the local repo as a dependency within the
Continue readingHow to write a builder for flutter like json_serializable
Issue I want do some code gen work with flutter. I found flutter packages pub run build_runner build can do code gen work. But in the document: https://pub.dartlang.org/packages/build_runner say: “build_runner can only run Builders that are published with a build.yaml
Continue readingHow to get dartdoc to include additional documentation?
Issue I would like to understand if there is a way for me to include additional documentation with the API docs that get generated by dartdoc. According to the Package layout conventions there is a getting_started.md file included inside the
Continue readingGot an error when I run API in the initstate and cannot get the desired output
Issue I am working on a project where I am creating the selecting interests screen where user can select 5 interests. I am getting interest after calling the API and then I got id and value (value is the title
Continue readingflutter pub run build_runner build not working
Issue when running flutter pub run build_runner build I get this error. Failed to build build_runner:build_runner: ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.41.2/lib/src/error/best_practices_verifier.dart:258:50: Error: The property ‘displayString’ is defined in multiple extensions for ‘TargetKind’ and neither is more specific. – ‘TargetKind’ is from ‘package:meta/meta_meta.dart’ (‘../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/meta_meta.dart’). Try
Continue readingERROR:: Unknown Directory structure, both java & kotlin files not found
Issue As I was trying to change my package name using a package (change_app_package_name). I bumped into this error:- Old Package Name: com.milanzi.shamba_huru Updating build.gradle File Updating Main Manifest file Updating Debug Manifest file Updating Profile Manifest file ERROR:: Unknown
Continue readingFlutter Dart Error: Dart_LookupLibrary: library 'package:home_widget/home_widget_callback_dispatcher.dart' not found
Issue I am using Home Screen Widget the package is here https://pub.dev/packages/home_widget/install and with flutter run –release I get the following error Dart Error: Dart_LookupLibrary: library ‘package:home_widget/home_widget_callback_dispatcher.dart’ not found. but I don’t get any error in flutter run –profile and
Continue readingHow can I achieve "child of a widget which is inside a scroll widget acting like sticky header" in Flutter?
Issue I’m trying to find a way to implement a functionality in which, in a horizontally scrollable list, there are widgets that I will call P, (which are denoted as P1, P2 and P3 in the diagram) and their children
Continue readingHive adapters and boxes with Get_it how should i regester them into getit
Issue I have always issues with hive boxies instances and the error of not initilizing the box or adapter so I decided to register them in one place and use it all over place .but I don’t event know how
Continue reading