Category "flutter"

Connect Metamask with a native mobile app built with Flutter

I want to connect the app to Metamsk to get the user account and signature from the user to confirm the transaction. But the problem is that when I enter Metams

how to filter data in dropdown search in flutter

DropdownSearch.multiSelection( label: "Divison", mode: Mode.DIALOG, popupTitle: const Text("Select Divison"), showSearchBox: true, onChanged: (List val) { snaps

Showing Error (The operator '+' isn't defined for the type 'Uri'. Try defining the operator '+'.dart (undefined_operator))

THIS IS MY CODE this is the app for storing data into google spreadsheets. // showing red line under plus OPERATOR '+' in LINE import 'dart:convert' as convert;

How to give daily updates in a flutter app

I am building an flutter app for our office in which I want to add a feature that gives updates on daily basis such as custom news or tasks that employees have

Find the first page of a MuliPage in dart-pdf

I am creating PDF document using dart-pdf. It contains various sections that could be any number of pages in length. Each section starts on a new page. Currentl

Error: RenderBox was not laid out, Failed assertion: line 1940 pos 12: 'hasSize'

I can't fix this error RenderBox was not laid out: RenderPointerListener#2b92a relayoutBoundary=up9 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE 'package:flutter/

Location service status couldn't be determined when try to retrieve location data via a backgroud service

everyone, I'm trying to get the location data every time the application run a script via a background service for same reasons, but I got every time Location

image_picker maxDuration not limiting videos in gallery selection (Android or iOS) - Flutter

Utilizing image_picker: ^0.7.5+3 Using iPhone 12, iOS 14, Android Google Pixel, Android 10. Code: var pickerFile = await ImagePicker().getVideo(source: source,

Flutter Plugin: crash_dump.cpp: failed to attach to thread 185: Permission denied

I am developing a Flutter Plugin and a simple piano keyboard layout which calls the Flutter plugin when onKeyPressed and onKeyUp the piano keys. The piano app c

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