Category "flutter"

Flutter returns null for AppLocalization.of(context)

I am using Flutter to build a Web-App and I want to use the internationalization feature of flutter on my new app. I was following the Flutter-Tutorial and I tr

Hi, I am developing an mobile application using flutter and I am bit confused if the strategy I am following is correct?

I created a separate Stateless widget called CustomAppBar will certain parameters. Every I need appBar in my app. I will use CustomAppBar and give required para

"WidgetsBinding.instance!.addPostFrameCallback((_) => yourFunction(context));" does not execute

So I created a custom NavBar, when you click on the icons it runs the animations for the icon. Problem: When starting the application the animation of a specifi

How to Adjust crossAxisCount(in gridview) based on gesturedetector

Like in the gallery app that it comes in our phones, when we zoom in we see less items, when we zoom out we see more items Is there a way to achieve this in Flu

How to add gradient color in card?

How to add gradient color in the background of a card ? Should I reproduce this card with a container and a box decoration or is there another simple way ?

How can we add / remove the object values with respect to entries with hashmap?

List<ServiceModel> serviceList = [ ServiceModel(id: "12", name: "Repair", subServiceList: [ SubServiceModel(name: "Toilet Repair", id: "123"),

Flutter _AssertionError 'initialValue == null || controller == null': is not true. Error

I have a code like this: TextEditingController adSoyadTextBox = TextEditingController(text: "Loading.."); // ... TextFormField( controller: adSoyadTex

how to resolve sqflite error : MissingPluginException sqflite

I created my database with this function: void CreateDatabase() async { database = await openDatabase( 'todo.db', version: 1, onCrea

How to do file operations (create/write/update/delete files) using the Flutter "saf" Package

How to do file operations (create/write/update/delete files) using the Flutter "saf" Package. link:- pub.dev/packages/saf I didn't find any solutions on Google.

flutter OpenContainer problems

Flexible( fit: FlexFit.tight, child: OpenContainer( closedShape: RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.c

Flutter: converting an Image object to a base64 string without using a File

I grabbed somewhere the following code to convert a picture to a base64 string without accessing a file : String ImageToString(Image image) { String result;

Face Detection in Preview Camera Feed on Flutter

How do we "draw a square" on detected faces on camera preview feed in Flutter? Is there a cross platform solution to this? Flutter provides a Camera Plugin, but

Android Alarm Manager Plus in Flutter never fires periodic

Android Alarm Manager Plus in Flutter never fires periodic after 1 minute regularly

Facing These Issues When Generating IOS Build

These are the Errors while generating The IOS build TFlite Error (2.7.0) This is the current package which I am using in my project The Tflite Issue has been

How can get a pop page result in navigator2

I am ready to use Navigator2 instead of Navigator1 in my flutter app. There are two pages, Page1 and Page2. Page1 can push to Page2. When pop Page2 I want to pa

Execution failed for task ':share_plus:compileDebugKotlin'. Getting this compiling flutter app tried everything flutter clean etc nothing is working

Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe ope

how to disable scrolling NestedScrollView

I tried to use physics: NeverScrollableScrollPhysics() in NestedScrollView but still yet is still scrolling. How can disable scrolling in NestedScrollView if th

How to remove space after Transform.translate in CustomScrollView?

Help me, any idea how to remove the space between yellow and green Container? It's caused by the Container have additional height after transform translate. I n

Video not playing in flutter web application

I am trying to use Viedo as a backgrounnd for scaffold widget in flutter web application but the video is not displayed though it's working fine in android but

Format users' contacts' phone numbers - Flutter

I am building a chat application that takes a user's phone number with a country code for registration. After registration and permission, I use the contacts_se