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

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...
Dart and Flutter

Flutter Dynamic expansion tile for group data

I needed a expansion tile for grouping data. I wanted to show item list like a folder structure on VS Code. Top parents ...
Sponsored links