Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Nipodemos
2020-08-29 01:32:19 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6b8d42f28580390f0ff6d3f3caa8a926c12a59c0
6b8d42f2
1 parent
0fbf83d4
update table of contents
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
docs/en_US/state_management.md
docs/en_US/state_management.md
View file @
6b8d42f
-
[
State Management
](
#state-management
)
-
[
Reactive State Manager
](
#reactive-state-manager
)
-
[
Advantages
](
#advantages
)
-
[
Usage
](
#usage
)
-
[
Example
](
#example
)
-
[
Declaring a reactive variable
](
#declaring-a-reactive-variable
)
-
[
Using the values in the view
](
#using-the-values-in-the-view
)
-
[
Conditions to rebuild
](
#conditions-to-rebuild
)
-
[
Where .obs can be used
](
#where-obs-can-be-used
)
-
[
Note about Lists
](
#note-about-lists
)
...
...
@@ -11,7 +11,7 @@
-
[
Workers
](
#workers
)
-
[
Simple State Manager
](
#simple-state-manager
)
-
[
Advantages
](
#advantages-1
)
-
[
Usage
](
#usage
-1
)
-
[
Usage
](
#usage
)
-
[
How it handles controllers
](
#how-it-handles-controllers
)
-
[
You won't need StatefulWidgets anymore
](
#you-wont-need-statefulwidgets-anymore
)
-
[
Why it exists
](
#why-it-exists
)
...
...
@@ -102,7 +102,7 @@ final name = RxString('');
final
isLogged
=
RxBool
(
false
);
final
count
=
RxInt
(
0
);
final
balance
=
RxDouble
(
0.0
);
final
number
=
RxNum
(
0
)
// in case you don't remember num is a dart type that accepts doubles and integers
final
number
=
RxNum
(
0
)
final
items
=
RxList
<
String
>([]);
final
myMap
=
RxMap
<
String
,
int
>({});
```
...
...
Please
register
or
login
to post a comment