Category "flutter"

Flutter GetX Changing Theme needs Hot Reload?

hi guys I'm using the flutter GetX package to change my app ThemeMode. it works fine but the problem is it needs a hot reload to change the ThemeMode here is my

How to center grid button inside red container

I want to center all grid button inside red container but it is showing big space at bottom of red container..how to solve this Widget build(BuildContext contex

How do I add shadow to a TextField when having a maxLength or minLength property?

I have a normal TextField that I want some shadow on it but I haven't found the solution to this problem. My TextField has the maxLength property so I have a sm

'FirebaseCore/FirebaseCore.h' file not found while building for Release Mode in Xcode Version 11.5 (11E608c)

I am able to run the app in Debug mode in XCODE and simulator without any errors. But when I build for Release Mode the build fails with below 2 errors: 'Fireb

Flutter Widget test cannot emulate different screen size properly

Before deploying my Flutter app, I wanted to test it on multiple screen sizes to check if there is any Renderflex overflow for smaller screens. But I when first

Create USDT Wallet on ERC20 Dart

I want to understand for myself how to generate USDT ERC20 wallet in dart language. I found the web3dart library. But what does it take to generate a koschel us

how to prevent rflutter_alert from closing when clicked outside

ive basically got an rflutter alert that looks like this Alert( context: context, title: "GAME OVER", desc: "Youve got $correct/13, try again?

How to call function from Stateful widget

I have seen many questions similar to mine in Stack Overflow but it did not fit my case since they were asking to call function from - to Stateful widget. I wan

Dart how to create parallel operations for Bloc Events?

I have a little question. How can we create parallel tasks for bloc events? Let's suppose I have a object list and I'm trying to do something with each one of t

Flutter app running on web failing with error:

**/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_web-2.2.8/lib/src/internals.dart:11:10: Error: Method not found: 'guardWebExceptions'. re

How to customize the carousel_slider in flutter?

I'm trying to customize the carousel_slider package. The expected output should be like this: But right now, I have an output like this: I want to hide the ri

How to unschedule previously scheduled local notifications after some time?

I am using flutter_local_notifications library to schedule local notifications every 1 hour. It is working as expected but now, I need a way to start/ stop the

how to store tasks in temporary storage in flutter (use Shared preferences or something similar)

I created a program to create tasks, everything works as it should, I made such options as validation, deleting the task, changing the theme. But the problem is

error "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree"?

I tried running the command 'flutter' in cmd. I am getting this error please resolve it. fatal: ambiguous argument 'HEAD': unknown revision or path not in the w

showing 1 data from Sqlflite flutter

So i want to make a delete button, so the user could delete those data according to the data they choose to see. Each time the data on the sqflite were added th

How to Sending sms and email using Dart (Flutter)?

I am trying to build and app in flutter which sends email and SMS. Purpose is to reset password (forgot Password). But I am not able to find a suitable package

Overwrite file if it already exist in flutter

Is there a way to overwrite a file's content if it already exists? For example, with the following, we write "Hello World" and follow by "Sup?". The result of

Visibility vs Offstage vs Opacity, which is best in hiding a child from widget tree?

From this thread I found that there are many ways of hiding a widget from the tree hierarchy. Like using: Visibility: Visibility( visible: false, child:

Is it possible to convert CSS code to dart code

There is a website called framer[www.framer.com] which lets you to create layouts and UIs and the site will generate the CSS code for the layout which you creat

Flutter Animated Positioned with Text Child Sliding onto the Screen

I'm new to animations in flutter and I am running into this weird error on my text/button animation. So I'm trying to build an app page where on click of a but