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
Gabriel Rohden
2020-09-11 10:27:29 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3f9b7103f2def54e9c67a7195be046aa4621f838
3f9b7103
1 parent
ac934ef8
chore: Update docs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
README.md
README.md
View file @
3f9b710
...
...
@@ -632,10 +632,6 @@ final name = 'GetX'.obs;
// only "updates" the stream, if the value is different from the current one.
name
.
value
=
'Hey'
;
// this weird (and kinda cool) assignment, updates the stream no matter what
// it takes nulls, or same value... but rebuilds the observers.
name
<<
'Hey'
;
// !
// All Rx properties are "callable" and returns the new value.
// but this approach does not accepts `null`, the UI will not rebuild.
name
(
'Hello'
);
...
...
@@ -647,7 +643,7 @@ name() ;
final
count
=
0
.
obs
;
//
you can just most basic operators acts on the property
!
//
You can use all non mutable operations from num primitives
!
count
+
1
;
// Watch out! this is only valid if `count` is not final, but var
...
...
@@ -716,10 +712,6 @@ user.update((value){
});
print
(
user
);
// this also works.
user
<<
user
.
value
;
```
#### GetView
...
...
Please
register
or
login
to post a comment