Category "dart"

How to apply Scroll controller for multiple SilverList or ListView items?

I have found the internet a way to hide arrow when scrolling horizontally through FlutterLogo with CustomSrollView. The functionality works and i want to place

Dart abstract factory method

I'm pulling table data from api in my application that I wrote with Flutter. According to the API used in the table data, different types of data are coming. I

auto converting json to object in dart flutter

I search google and stackoverflow but did not find some auto converting lib like in C# I need something in dart-flutter alternative to this code in C# strin

How to convert SVG to PNG in flutter

I am looking to convert SVG from assets to png and write it to File. I have managed to write SVG to file, but I want to write the image to a file as a PNG code

Flutter FutureBuilder exceptions: add default behaviour

In my app I use FutureBuilder extensively and I would like a generic behaviour when one of them fails. I am trying this setup WidgetsFlutterBinding.ensureIniti

W/Choreographer(11277): Frame time is 13.988632 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase

W/Choreographer(11277): Frame time is 13.988632 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. This is t

Drawer Menu Shows Gaps

I am new to flutter. I got a Drawer Menu but there is a little gap between user information side and menu items section. drawer menu user information side impo

how to read Twitter hash tags in Flutter?

I have wondered if there is a way in which I can read Twitter hashtags in a flutter, I have seen many apps using that, so in flutter can I have Twitter API whic

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