salvadordeveloper / flutter-crypto-app Goto Github PK
View Code? Open in Web Editor NEWFlutter Cryptocurrency App with Riverpod & Freezed + Dio for API REST
License: MIT License
Flutter Cryptocurrency App with Riverpod & Freezed + Dio for API REST
License: MIT License
explain?
Navigation provider is not working..
The workflow release.yml is referencing action actions/checkout using references v1. However this reference is missing the commit a6747255bd19d7a757dbdda8c654a9f84db19839 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.
If I'm correct, this app support null safety. Can you also mention it in the ReadMe?
Thanks for nice app. It's hard to find a good repo to learn Flutter with Riverpod like yours.
I see this app doesn't have any splash yet. Can you consider integrate https://pub.dev/packages/flutter_native_splash?
The workflow tests.yml is referencing action actions/checkout using references v1. However this reference is missing the commit a6747255bd19d7a757dbdda8c654a9f84db19839 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.
When SearchScreen requests network data, it first displays No results.
Because the list is initialized by default, if the network data is not loaded, the returned list will cause data.length to be 0, and then display No results.
So consider trying not to initialize the list and let it return null.
Then consider displaying CircularProgressIndicator when data == null.
And when data.length == 0, displays No results.
Hello!
I tried to run your code but it gives me the following error:
Exception has occurred.
DataException (errorBadRequest)
The error occurs in this part of the code:
final favoritePairProvider = FutureProvider<FavoritePair>((ref) async {
final cancelToken = CancelToken();
ref.onDispose(() => cancelToken.cancel());
final settings = ref.watch(cryptoSettings);
String exchangeName = settings.maybeWhen(
data: (details) => details.favoriteExchange, orElse: () => "");
String pairName = settings.maybeWhen(
data: (details) => details.favoritePair, orElse: () => "");
if (exchangeName.isEmpty || pairName.isEmpty) {
throw DataException(message: LocaleKeys.errorSomethingWentWrong);
}
Pair pair = Pair(pair: pairName, exchange: exchangeName);
try {
PairSummary pairSummary = await ref
.read(cryptoRepository)
.getPairSummary(exchangeName, pairName, cancelToken: cancelToken);
return FavoritePair(pair: pair, pairSummary: pairSummary);
} on DataException catch (error) {
if (error.message == LocaleKeys.errorRequestNotFound) {
ref.read(cryptoSettings.notifier).verifyFavoritePair();
}
throw error;
}
});
I also changed the .env-example
file to .env
and copied my gotten API private key like below into it:
API_KEY=ddTaK3jVw5fgdfgdgfdgfgfdgfdgfd
Do you know how can I fix it?
/C:/src/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/settings_ui-1.0.0/lib/src/cupertino_settings_item.dart:76:51: Error: A value of type 'ListTileThemeData' can't be assigned to a variable of type 'ListTileTheme'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.