Category "flutter"

Flutter DataTable - Tap on row

I am using Flutter DataTables to display list of items in cart. Now I want to edit the quantity of any selected row. Is there a way to get the information of th

Unexpected getting cloud_firestore/permission-denied in production sometimes

My Firestore rule: match /app/info { allow read; } My code: FirebaseFirestore.instance .collection('app') .doc('info') .snapshots()

How to find IP address using multicast_dns in flutter/dart?

I am writing a flutter application. To make life easier for end users I decided to find services running on a Raspberry Pi. Avahi is running and working. I can

Flutter- GestureDetector not working with containers in stack

I have two containers in a stack and both containers have GestureDetector.The OnTap for the first container is working fine but it's not working with another co

how i can scan ID Card(NIC) in flutter and also get data from it?

I am building an app in flutter and in that app one step is to scan an id card (NIC) and get their name, DOB, expiry date, etc, so I am confusing that how I can

"error: cannot find symbol" when building for Android in flutter

I keep getting this error when trying to build for android in my flutter app. This all happened when i added firebase messaging version 7.0.3. Even after removi

Project not connecting to real time database - flutter

I am having a problem with real time database not working, I copied a project from GitHub and made a new project in firebase with my app ID, added the JSON file

How to give Flutter SDK Path in Android Studio on Mac os, How to update Flutter SDK path in MACOS?

I have installed the Android studio and the plugin's DART,FLUTTER to kickstart the flutter but as i am not able to give path of sdk while creating my very first

DioError [DioErrorType.DEFAULT]: Converting object to an encodable object failed: Instance of 'FormData'

I'm new in Flutter. When i try to upload data to the server i faced some problems like: 1.NoSuchMethodError: The getter 'friendsList' was called on null 2.DioE

How can I get the size of the Text widget in Flutter

I've painted a shape for the background of my content of Text. I want the background autoscale the Text, even the softWrap being true. So, I need to get the

How to change ListTile data with mobx without rebuilding the whole page #Flutter

I am learning the Flutter state management with mobx, and I want to change the context of the dynamic listtile without rebuilding the whole page, I tried observ

I am trying to use flutter Isolate with database data. But it's throwing an error. I don't know why is it happening?

I'm using the hive database. My code is: HiveStocktaking? stocktaking = _database.getStocktakingById(_stocktakingId); StocktakingStats stocktaki

How to set a default value for an object in json serialisable?

I want to set a default value for AvailableService. It straight forward enough with primitives. How would I do it with a custom Object class Submenu extends Equ

How do I refresh identity token before it gets expired using flutter google_sign_in plugin for android

I am integrating Google Sign In Auth with my App using google_sign_in flutter plugin. It is working all fine except the idToken expires after an hour. Just befo

I cannot convert resized Image object to Base64 string in Dart

I want to resize Image received form imagepicker in Flutter and send it to database in base64 format. import 'package:flutter/material.dart'; import 'package:ht

border radius not apply inside container widget

Border radius not apply inside child Container. Tried with SizedBox & Stack widget. I need border view inside container. Scaffold( appBar: AppBar( ti

From Bottom Sheet to full screen Scaffold in Flutter

I would like my app have a model bottom sheet. The bottom sheet is shown only when user click a button. The bottom sheet first take up around 0.5 or less of the

I want to change the TextStyle of the items appear in DropdownSearch which comes under dropdown_search package in flutter

Transform.scale( scale: 0.91, child: DropdownSearch( validator: (v) => v == null ? "required field" : null, hint: "Select a country", dropdownSearchDecoratio

'streamChatState != null': You must have a StreamChat widget at the top of your widget tree

I am new to flutter and im trying to run a chat app with getstream chat api and firebase. I keep running into an error every time i try to sign in or sign up Sc

Is there a way to load async data on InitState method?

I'm a looking for a way to load async data on InitState method, I need some data before build method runs. I'm using a GoogleAuth code, and I need to execute bu