Category "flutter"

how make secure key.properties file in flutter

as we write passwords in key.properties file for signing flutter APK. its not dangerous? how we can make it secure after debugging and reverse engenearing? sto

Border radius of selection list of DropdownButtonFormField in flutter

I didn't find how to decorate the list that appears when you click on DropdownButton like make radius for the corners as you see in the screenshot below.

Flutter Freezed Pakcage Sealed Classes Methods

When I generate sealed classes with Freezed, How can I add methods to the sealed classes? For example: import 'package:freezed_annotation/freezed_annotation.dar

How to achieve Expandable TextField with Center Align of text and prefixIcon in Flutter

I am stuck in trying to achieve a text field with prefix Icon. I want the text field and prefixIcon to be center-aligned and should expand while typing. Any hel

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