Dart and Flutter

Sponsored links
Dart and Flutter

Flutter Riverpod Handling Future and dispose in StateNotifier

It took me a while to find out how to implement a Provider that uses FutureProvider in it and disposes of a variable cre...
Dart and Flutter

Flutter Dynamic TextField creation with Riverpod

I have posted the following article before. The code uses neither Riverpod nor Provider. It is implemented by using Stat...
Dart and Flutter

Flutter 4 ways to hide persistentFooterButtons

Scaffold Widget has persistentFooterButtons property. How can we implement it if we want to show and hide it depending o...
Dart and Flutter

Flutter Riverpod and ListView

I didn't know how to use a Riverpod provider for ListView, so I looked into it and implemented it. If you are looking fo...
Dart and Flutter

Waiting for another flutter command to release the startup lock…

I opened VSCode and tried to start a mobile emulator but the device list didn't appear on the command palette. I ran Run...
Dart and Flutter

Flutter Scrolling while dragging an item

Drag and drop are often used when we want to move an item. If the list is long it's necessary to be scrollable while dra...
Dart and Flutter

Flutter How to write unit test for thrown exception

I didn't know how to write unit test for a function that throws an exception. Therefore. I looked into the solution and ...
Dart and Flutter

Dart Compare two objects – how to deep equal

This article explains how to compare two objects in Dart. How can we implement if we want to do deep equal? What is the good way to override hashCode and == operator?
Dart and Flutter

Flutter Provider example ChangeNotifierProvider and Consumer

I have used only setState in order to update the view but I faced a problem while I developed my own package grouped exp...
Dart and Flutter

Flutter Draggable Expansion Tile

When we want to make a widget draggable, Draggable class is useful and easy to to use. An Expansion Tile has children. H...
Sponsored links