Category "flutter"

Flutter Error when creating SQL DB table by giving tableName parameter

I found a flutter sqfl example on the web and trying to modify it for my personal project. I need more than one table in a database, so I want to be able to cre

Why am I getting TypeError at runtime with my generic StatefulWidget class?

I have a generic StatefulWidget class that has a Function callback. When I try to invoke that callback, I get a runtime TypeError: ══╡ EXCEPT

The method '[]' can't be unconditionally invoked because the receiver can be 'null' what is the problem

I want to show the staff list in the Firebase database. However, I am getting the following error. import 'package:firebase_database/firebase_database.dart'; c

How do I share an analysis_options.yaml file across multiple packages?

I am developing a Flutter Module, multiple Flutter Plugins. The relationship between them is: module depends on all plugins. All plugins are not published to pu

how to border radius to navigation bar flutter

I want circular borders on the top left and right in my navigation bar. below I have mentioned my bottom navigation bar code. how can I DO THAT? Appreciate your

Unhandled Exception: LateInitializationError: Field 'isDayTime' has not been initialized

[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: LateInitializationError: Field 'isDayTime' has not been initialized. E/flutter ( 5534): #0

Testing bloc events type 'Null' is not a subtype of type

I am trying to learn bloc and I am writing simple unit tests. I am trying to test the auth events but I am facing the error below. Inside my app when I trigger

Flutter Error: Execution failed for task ':app:compileFlutterBuildDebug

I reinstall my flutter and trying to load my app again, but I am having trouble loading it up. I have tried for three days, even reinstalling my window and all

Error: The getter 'addressOf' isn't defined for the class 'Utf8'

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'. 'Utf

Flutter use mlkit on agore video call

I am making a flutter application that enables you to use video calls through the agora package in flutter my question is is there any way to apply mlkit face d

Error building AAB - Flutter (Android) - Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available

I am trying to build an AAB for my flutter app. I generated the keystore using the following below command: keytool -genkey -v -keystore ~/pc-keystore.jks -keya

gradle of the flutter app not working in android studio

My flutter app is not able to Run. Everytime I am trying to run the program, I am getting an error that ould not compile build file '/Users/sushovan/StudioProje

is it possible to add gradient color using one name flutter

I want to define below gradient color in one name to use multiple places in my code.is it posssible in flutter like this >> const Color backgroundBlue =

Call build on Text widget when i change tab

I want to change title in appBar, when when I switch from one tab to another. In my current code do not do that because on change tab build is not called. Thank

Flutter SafeArea: avoid notches, but ignore rounded corners

Is there a way to detect and avoid notches in a phone's screen (for example, the camera notch in an iPhone X), but ignore a screen's rounded corners? For exampl

Is it allowed to add event to another bloc from inside of a bloc?

I am using bloc library available in Dart to implement "bloc" pattern. I will eventually move onto flutter_bloc library so I can use it inside a real app. I'm h

PlatformException(multiple_request, Cancelled by a second request, null, null) in imagePicker

I am using a riverpod provider class to handle picking of image from gallery. However, once an image is picked, I get the error: PlatformException(multiple_requ

Allow accessibility screen reader to read a number string one-by-one as digits using semantics [flutter]

I'm using Semantics to adapt my app for accessibility and want to read a phone number (like: Text("950874123")) one to one instead "million, thousand...". Is th

How to make drag and drop from drawer in Flutter

I've provide the code. So the dragable widget is in the drawer and the drag target is in the home screen. But when I drag the container to put it in the drag ta

precachePicture throwing null exception when using in main.dart

I am using svg in my onboarding screen and I want to precache it as it takes time for svg to load. But whenever I am trying to precache, I'm getting an exceptio