Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
focus: pubspec.yaml:26 | ||
focus: lib/main.dart:30 | ||
--- | ||
|
||
### MVI & Clean Code: Rendering Logic of State in Flutter : Riverpod story : Let's go to business | ||
### MVI & Clean Code: Rendering Logic of State in Flutter : Riverpod story : The first step is to clear the unnecessary | ||
|
||
|
||
Let's start. We create a new project. Android studio will create a project with a counter by default. | ||
We will use it further. Let's add a riverpod dependency to pubspec.yaml. | ||
The purpose of this article is to show you how to make your Flutter project more maintainable by separating state and logic from the user interface. | ||
In the project created by default, the counter has the states of the widgets and the logic is directly in the widgets of the user interface. | ||
Let's start changing. I will remove the state management from the widgets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters