1,752 questions
2
votes
0
answers
71
views
Using OpenSSL provider to delegate TLS_PSK_WITH_NULL_SHA256 key operations to TZ or TPM
I am developing software that uses OpenSSL for implementing a TLS client. I am developing it in the C++ language, to run in Linux for ARM 64-bit.
I intend to use the cipher TLS_PSK_WITH_NULL_SHA256.
...
0
votes
0
answers
60
views
In flutter, how to do a partial refresh list?
for example: I have a list, when I modify an item in the list, only the modified item is rebuilt, when I append an item, the list rebuilds the newly added item, not all items in the entire list are ...
0
votes
0
answers
36
views
RuntimeException: Can't create handler inside thread when using Messenger-based Service in ContentProvider
I'm developing an Android app that uses a background Service with Messenger for inter-process communication. This service performs a background test on the device. I packaged it as an .aar and use it ...
0
votes
0
answers
57
views
Unable to rebuild widget because provider's consumer does not trigger rebuild down the widget tree. How to solve this?
My Goal: In the following minimal code, I have MyMainInputWidget and YearInputWidget as input capturing widgets which are required. I don't want to call any provider methods within the YearInputWidget ...
0
votes
1
answer
43
views
Provider notifyListeners() is not update Consumers
I am using Provider in my application. I have designed a simple question-answering mechanism. My code suddenly stopped working even though I didn’t change anything. Could it be that I have reached the ...
-1
votes
1
answer
50
views
options.providers is not iterable
I have recently started working on my next project and am adding google authentication but receiving error at GET /api/auth/providers .
api/auth/[...nextauth]/route.js
import NextAuth from "next-...
0
votes
1
answer
54
views
Flutter ListView not updating despite data list has been updated unless I scrolled all the way to the end
I'm trying to implement this posts-filter functions using Provider in Flutter, the posts has title, timestamp, pfp, and number of likes/comments, my problem is let's say if the user sorted to Oldest ...
0
votes
2
answers
50
views
Widget is not refreshed when provider value changes
I have a users Firestore collection where the ids are my users uid.
When a user logs in (with Firebase auth), i'd like to wrap the whole application by the corresponding firestore document.
My code is ...
0
votes
2
answers
162
views
Terraform provider hashicorp/launch (does not exist)
I´m encountering an issue when initializing my terraform. I receive the following error:
Error: Failed to query available provider packages │ │ Could not retrieve the list of available versions for ...
0
votes
1
answer
102
views
Could not find the correct Provider<CubitSubject> above this BlocBuilder widget in Flutter
I'm facing an issue with accessing my CubitSubject provider in a specific screen. I have a MultiBlocProvider in the root of my app, and I'm trying to access the CubitSubject in the SubjectsView screen....
2
votes
1
answer
39
views
Update items shown in two different views with their own controllers in flutter
I'm new to flutter, and I'm trying to build an application to organize a personal schedule.
I have two views, one for the confirmed events and the other for the non-confirmed ones.
Using calendar_view,...
0
votes
0
answers
27
views
How do a calcul with int come to provider in flutter
I'm beginner in flutter and provider.
I managed to retrieve a value from a widget to the parent widget with provider.
This value is an int.
Text( context.watch<EweProvider>().configSouteProvider,...
1
vote
0
answers
115
views
Android how to configure provider path for dual app storage
Two connected questions:
Environment.getExternalStorageDirectory().getAbsolutePath() gives me the external storage. But I just noticed that dual apps (You can clone apps for example on Xiaomi) have ...
1
vote
0
answers
22
views
Build Error: Namespace Not Specified for Location Package in Flutter Project
After login home_page.dart
I'm experiencing an error every time I run this app. The variable humanReadableAddress (used for the formatted address in the Google Maps API via geocoder) outputs correctly ...
0
votes
2
answers
42
views
Flutter Error: Could not find correct Provider above this HomeScreen Widget
I am building a Flutter app with multiple providers, and I encounter an error when trying to access my SignInProvider from the HomeScreen widget. The error message is:
Error: Could not find the ...
1
vote
0
answers
194
views
How do I read a Riverpod provider within a Class or Stream without Ref or context?
I have a Class I use for backend, within which I have a Stream that Streams data from Firebase, as shown below. I need to access the data from a Riverpod Provider to specify the Firebase collection ...
0
votes
1
answer
80
views
How do I use Provider between Widgets?
I'm facing an annoying problem about the Provider package. I want to implement the night mode switch. I've tried to use the Provider in a separate screen and it works, but obv where I would need him, ...
1
vote
1
answer
38
views
why absolute path gets BlocProvider related error in flutter?
when I use the following code snippet in flutter
import 'package:flutter/material.dart';
import 'package:flutter_app/features/note/presentation/screens/note_list.dart';
import 'package:flutter_app/...
0
votes
1
answer
45
views
Why won't Provider rerun its create() when its parent StatelessWidget is re-running build()?
I know the more common ways to handle this kind of a thing involve using a ChangeNotifierProvider(CNP), etc., but I want to understand how Provider actually works.
If I have a StatelessWidget with a ...
1
vote
1
answer
113
views
Why is dispose method not being called?
I was trying to use provider for managing the state of TextField Controller and below is the code for the provider I'm using. I want to know why is dispose called! not being printed out to the console ...
0
votes
1
answer
264
views
Flutter Bug Where I have to Click the Button Twice
I get this weird problem in Flutter. I'm using 'Provider' for state management, In the helper class everything is fine, I'm sending the request and I receive the response with no problems. The problem ...
0
votes
1
answer
170
views
Resetting provider's value when a widget is removed from the tree
my problem is very simple that its laughable and i've been losing my mind for the past 6 hours over it.
i have a simple notifier with a provider like this
class LoginSignUpToggleProvider extends ...
0
votes
1
answer
107
views
Admob banner ad shows only when changing from one drawer page to the ad-page in Flutter app?
The following is a minimal code to my Android app where I'm trying to show an Admob banner ad at the bottom of my home page.
The external packages needed are google_mobile_ads and provider available ...
1
vote
1
answer
45
views
how to pass Data to the UI
this is what I'm trying to build
here is the code
class LogisticsPageScreen extends StatefulWidget {
@override
_LogisticsPageScreenState createState() => _LogisticsPageScreenState();
}
class ...
1
vote
1
answer
1k
views
UseContext is not a function
I'm trying to use the context that I created to a really simple shopping cart example, for that, I created some functions and when I try to use it inside of my component, the error pops up.
I'm ...