Category "flutter"

upgraded depricated uuid pacakge in Window

npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be pro

Expected a value of type 'Map<String, dynamic>', but got one of type 'Null'

I'm using flutter and managing data by cloud_firestore. I could send data to firestore, but now I'm Struggling with reading data. In firestore, data are stored

Error occur when I am building my app.(Execution failed for task ':app:checkDebugAarMetadata'.)

What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. Multiple task action failures occurred: A failure occurred while executing com.android

why can't create user using stream chat api in flutter?

I'm trying to create a chat screen in my flutter application using Stream chat API. the problem is when I try to create a channel with two users it shows that t

Closure call with mismatched arguments: function '_TaskTileState.checkboxCallback'

I'm getting this error in my code ======== Exception caught by widgets library ======================================================= The following NoSuchMetho

Error: Expected a value of type 'int', but got one of type 'String'

screenshoot Error: Expected a value of type 'int', but got one of type 'String' at Object.throw_ [as throw] (http://localhost:50026/dart_sdk.js:5405:11) at Obje

Flutter Navigator Observer get path of old and new route

I am trying to call an function, if the Router changes the first part of a Route. I do use a NavigatorObserver and know about the functions didPop/didPush. I ha

Flutter - App Store Connect rejection due to needing "functional link to the Terms of Use (EULA)" in "your app's binary"

Our flutter app, with a subscription membership in-app-purchase, is repeatedly being rejected by App Store Connect for the following reason : Specifically, we

FlutterError : The key [LabeledGlobalKey<FormState>] was used by multiple widgets

I'm getting an error while trying to navigate to the menu_screen widget. I'm pretty sure that the GlobalKey menuFormKey is not used inside another widget but I

NavigatorKey not found on MaterialApp.router

Previously using MaterialApp there was a way to set a GlobalContext using a NavigatorKey located on the MaterialApp widget. However now it's looks like that alt

Authentication Api using user name and password in flutter web

I try to authenticate api using user name and password it worked good in flutter android app but in flutter web do not get any data below my authentication func

How return bool from write on file

Am using this for write file on phone Future<File> writeData(data) async { final file = await _localFile; return file.writeAsString(data); } how can

Is there a way of assigning a future variable to another variable without returning null in dart?

I was trying to pass a data to a variable that returns future but it returns out to be null even though I'm using async and await. what is I'm missing here ? im

_CastError (Null check operator used on a null value) because it requires loading

So I am creating an Instagram clone and when I open the feed screen, an error that says '_CastError (Null check operator used on a null value)' pops up. But whe

Flutter testing: static method I need to mock inside code

I want to test a method that is responsible for a button tap (let's call it onButtonTap()), one of the first methods is a call to static method from utils file,

How to write integration test in provider

Could not find appbar title "Exam Start" await tester.pump(Duration(seconds: 1)); final titleFinder = find.text("Exam start"); expect(titleFinder, findsOneWid

Accesing downloaded files from a Flutter app

I am working on an app that should manage downloaded files. For now I am able to download a file on both platforms, but I would need to know how can I get the d

Using photo_view package to fit image like BoxFit.cover

A basic usage as it, but in this case it is not fitted to screen borders. Is it possible to display it with a behaviour of BoxFit.cover ? A double tap make it f

Flutter: Autoroute : RouteGuard not working in AutoTabsScaffold

I am trying add auth guard for my AutoTabsScaffold [bottom nav] but it's not working, It's working in other navigation pages but not just inside my landing page

Flutter: How can I unit test a Timer used by a Bloc using blocTest?

How can I test a Timer inside a Bloc, using blocTest? I’m using the bloc library, with freezed to build the state and event objects (might not matter here