Category "dart"

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 hide Dart pop up notification in Visual Studio Code

How can I turn this popup notification off? Im using Visual Studio Code Version: 1.64.2 (user setup) Commit: f80445acd5a3dadef24aa209168452a3d97cc326 Date: 202

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 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

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

How to calculate multi-operator of list in dart?

I have a list of num and string of operator above: final List<dynamic> items = [5.0, "-", 2, "*", 3]; I want to calculate the value inside of it. I can d

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

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

Unicode Normalization not appropriate for ASCII-8BIT

13: from /usr/local/bin/pod:23:in `<main>' 12: from /usr/local/bin/pod:23:in `load' 11: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.0.beta.2/bin/pod

Check or listen continuously to internet connection/Network Connectivity in dart, flutter app

I have been searching for long to know the best approach to listen to internet connection in flutter/dart app. I think this approach is better for now and it ca

How can i specify channel for only two person to have video call using agora

i have read a lot of agora docs but couldn't find my need . when i need to have new agora account so i will get token and appid and channel name now i noticed w

how to create time slots in flutter/dart

I'm trying to create a list of time slots for building an appointment-related app. For example, build-time slots from 8 AM TO 10 PM with a 30-minute gap between

use getx in flutter datatable's datasource instead of stateful widget

I tried to change rowCount dynamically using Getx in flutter's Datatable DataSource, but it didn't change when I surrounded it with obx. If I check with ever ()

refresh data on home page using future builder on button click - flutter

i have an app with two screens, home and update page. The home page displays a list of items and the update page updates the items. I am having difficulties re

Flutter run takes too much time after editing MainActivity.kt

I was running some flutter project from github but the runnig taking too much time and showing some cryptic things in console like, lib\main.dart:1 √ Bui