Flutter Stream Structure

Hello everyone! In this article, I will explain the use of Stream in Flutter through an example. What is a Stream? We can define it as a pipeline with a flow of data. There is a circulation of data in the stream. Data enters the flow and is delivered to those who want to listen to it. Let鈥檚 Create a Stream! To create a Stream, we first need a Controller. We will create a Stream using StreamController....

10123 September 923 路 3 min 路 Furkan Olkay

How to Create a Pull Request in an Open Source Project?

Hello everyone, I wanted to share the Turkish version of the blog I wrote on my explaining how to create a PR in an open-source project. Let鈥檚 Examine the Original Project! First, let鈥檚 open the project we want to contribute to. Each project has its own development rules defined by the project managers, and these rules are usually clearly stated in the README.md file. It鈥檚 beneficial to read this before taking any action on the project....

1016 September 96 路 2 min 路 Furkan Olkay

Flutter BloC + Freezed

Hello everyone, In this blog, I wanted to share the English version of my blog discussing how to create an effective state management structure using BloC and Freezed. Let鈥檚 Get Started! In the screenshot above, I will demonstrate the BloC and Freezed structure by writing the application. First, let鈥檚 add the necessary packages to our pubspec.yaml file. The packages we need to add under _dependencies_ are flutter_bloc and freezed_annotation. The packages we need to add under _dev_dependencies_ are build_runner, freezed, and json_serializable....

202048 May 548 路 4 min 路 Furkan Olkay

Flutter Drag&Drop

Hello everyone 馃憢 In this article, I will explain how to perform Drag&Drop operations in Flutter. Essentially, we use two main widgets for Drag&Drop operations. Draggable: This widget represents the draggable part, where we define the widgets we want to drag. DragTarget: This widget represents the area that can accept the draggable widget, allowing us to accept draggable widgets with necessary condition checks. Drag&Drop generally provides convenience and ease of use in applications....

20230 February 230 路 5 min 路 Furkan Olkay