Flutter daemon doesnt start
I started vs code and got the error flutter daemon failed to start. I opened the log and the error was that git was not found in path even though i have added git to path. Here is the log…
I started vs code and got the error flutter daemon failed to start. I opened the log and the error was that git was not found in path even though i have added git to path. Here is the log…
This is my code. I am getting error, it's telling context can not be empty: I have already tried all Google methods but its still there I am just trying to create simple login system with Node and Flutter while…
I have a Flutter app with a BottomNavigationBar that allows users to navigate between different screens (HomeScreen, ProfileScreen, and SettingsScreen). I want to implement a FloatingActionButton in the MyHomePage widget that performs different actions based on which screen is currently…
I got this error while trying to build my flutter application FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':rive_common:buildCMakeDebug[arm64-v8a]'. > com.android.ide.common.process.ProcessException: ninja: Entering directory `/home/mcrops/.pub-cache/hosted/pub.dev/rive_common-0.2.7/android/.cxx/Debug/13194d4d/arm64-v8a' [1/64] Building CXX object CMakeFiles/rive_text.dir/home/mcrops/.pub-cache/hosted/pub.dev/rive_common-0.2.7/ios/rive-cpp/src/rive_counter.cpp.o FAILED: CMakeFiles/rive_text.dir/home/mcrops/.pub-cache/hosted/pub.dev/rive_common-0.2.7/ios/rive-cpp/src/rive_counter.cpp.o /home/mcrops/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++…
I want to get the number of lines in a text field. Currently, I am using this method: TextField( scrollPadding: EdgeInsets.zero, controller: textEditingController, onChanged: (value) { setState(() { lineLength = 'n'.allMatches(value).length + 1; }); }, maxLines: null, textAlign: TextAlign.center, keyboardType:…
In Flutter I am using bloc and have a special case where is MultiBlocProvider and I need to provide context to widget which is below it. This is code: @override Widget build(BuildContext **context**) { return MultiBlocProvider( providers: [ BlocProvider<LoginCubit>(create: (_)…
I have a custom table widget, that has a property of type List holding items with certain properties. final List<Item> items; Where each of the items can have properties like "name", "street", "number" etc. This list is passed to the…
I have a snapshot from firestore that I need to convert to a List list. I have been reading about AsyncSnapshot snapshots and they come back as json, correct? I need to convert the data in the snapshot to a…
I have list like below [ { "id": "1", "name": "Aaa", "title": "Aaa like your photo" }, { "id": "2", "name": "Bbb", "title": "Bbb like your video" }, { "id": "1", "name": "Ccc", "title": "Ccc like your photo" }, {…
i want to call weather Api and i have little bit concept of graphQl and restApi.I can not decide which api is suitable to hit request on server.why we use GraphQl,webhook when rest api makes easy to call the api.…