skip to Main Content

Cannot Get Image from API in Flutter

I am a beginner in Flutter development, I have problems regarding "GET" image from the API because there are different fields which makes my application error when the user doesn't have an "image" in his account. The error is like…

VIEW QUESTION

Flutter Getx route argument data is lost when hot reload

Question might be misleading, but I'm currently working on a project where I use Get.toNamed a lot and I'm sending some data every time. But, when I hot reload the changes I get ════════ Exception caught by widgets library ═══════════════════════════════════…

VIEW QUESTION

Flutter injectable package to inject AppLocalizations

I have a cubit that looks like this: @injectable class SomeCubit extends Cubit<SomeState> { SomeCubit({ required this.logger, required this.someRepository, required this.flutterLocalNotificationsPlugin, required this.l10n, // AppLocalizations required this.anotherRepository, }) : super(SomeInitial()); } Running the injectable generator throws an error about InvalidType…

VIEW QUESTION

Php – DioException (DioException [unknown]: null Error: FormatException: Unexpected character (at character 1) <br /> ^ )

I am trying to get data from the server, but the server's response is like this: <br /> <b>Warning</b>: Undefined variable $response in <b>/home/sasansaf/techblog.sasansafari.com/Techblog/api/article/Model/ArticleModel.php</b> on line <b>191</b><br /> <br /> <b>Warning</b>: foreach() argument must be of type array|object, null given…

VIEW QUESTION
Back To Top
Search