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
Schaban
2020-12-05 16:14:23 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e9416e7168fba80c1e8367a58f18ac47b3eecdec
e9416e71
1 parent
e8c31671
Readme
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
README.md
README.md
View file @
e9416e7
...
...
@@ -53,6 +53,8 @@
-
[
ObxValue
](
#obxvalue
)
-
[
Useful tips
](
#useful-tips
)
-
[
GetView
](
#getview
)
-
[
GetResponsiveView
](
#getresponsiveview
)
-
[
How to use it
](
#how-to-use-it
)
-
[
GetWidget
](
#getwidget
)
-
[
GetxService
](
#getxservice
)
-
[
Breaking changes from 2.0
](
#breaking-changes-from-20
)
...
...
@@ -903,6 +905,29 @@ Is a `const Stateless` Widget that has a getter `controller` for a registered `C
}
```
#### GetResponsiveView
Extend this widget to build responsive view.
this widget contains the
`screen`
property that have all
information about the screen size and type.
##### How to use it
You have two options to build it.
-
with
`builder`
method you return the widget to build.
-
with methods
`desktop`, `tablet`,`phone`, `watch`
. the specific
method will be built when the screen type matches the method
when the screen is
[
ScreenType.Tablet
]
the
`tablet`
method
will be exuded and so on.
**Note:**
If you use this method please set the property
`alwaysUseBuilder` to `false`
With
`settings`
property you can set the width limit for the screen types.

Code to this screen
[
code
](
https://github.com/SchabanBo/get_page_example/blob/master/lib/pages/responsive_example/responsive_view.dart
)
#### GetWidget
Most people have no idea about this Widget, or totally confuse the usage of it.
...
...
Please
register
or
login
to post a comment