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-06-09 00:21:09 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ac25db2df66713206db883d8f7cc4947c55984f
6ac25db2
1 parent
a4452e26
make controller extends from RxController as it is good practice
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
README.md
View file @
6ac25db
...
...
@@ -24,7 +24,7 @@
```
dart
void
main
(
)
=>
runApp
(
GetMaterialApp
(
home:
Home
()));
// Create your business logic class and place all variables, methods and controllers inside it.
class
Controller
{
class
Controller
extends
RxController
{
// ".obs" turns any object into an observable one.
var
count
=
0
.
obs
;
increment
()
=>
count
.
value
++;
...
...
Please
register
or
login
to post a comment