Jonny Borges
Committed by GitHub

Merge pull request #373 from Nipodemos/fix_docs_typos

[docs] fix typos
... ... @@ -288,67 +288,72 @@ GetPlatform.isWeb
Get.height
Get.width
// If you need a changeable height/width (like browser windows that can be scaled) you will need to use context.
Get.context.width
Get.context.height
// Gives the context of the screen in the foreground anywhere in your code.
Get.context
// Gives the context of the snackbar/dialog/bottomsheet in the foreground anywhere in your code.
Get.contextOverlay
// Note: the following methods are extensions on context. Since you
// have access to context in any place of your UI, you can use it anywhere in the UI code
// If you need a changeable height/width (like browser windows that can be scaled) you will need to use context.
context.width
context.height
// gives you the power to define half the screen now, a third of it and so on.
//Useful for responsive applications.
// param dividedBy (double) optional - default: 1
// param reducedBy (double) optional - default: 0
Get.context.heightTransformer()
Get.context.widthTransformer()
context.heightTransformer()
context.widthTransformer()
/// similar to MediaQuery.of(context).size
Get.context.mediaQuerySize()
context.mediaQuerySize()
/// similar to MediaQuery.of(context).padding
Get.context.mediaQueryPadding()
context.mediaQueryPadding()
/// similar to MediaQuery.of(context).viewPadding
Get.context.mediaQueryViewPadding()
context.mediaQueryViewPadding()
/// similar to MediaQuery.of(context).viewInsets;
Get.context.mediaQueryViewInsets()
context.mediaQueryViewInsets()
/// similar to MediaQuery.of(context).orientation;
Get.context.orientation()
context.orientation()
/// check if device is on landscape mode
Get.context.isLandscape()
context.isLandscape()
/// check if device is on portrait mode
Get.context.isPortrait()
context.isPortrait()
/// similar to MediaQuery.of(context).devicePixelRatio;
Get.context.devicePixelRatio()
context.devicePixelRatio()
/// similar to MediaQuery.of(context).textScaleFactor;
Get.context.textScaleFactor()
context.textScaleFactor()
/// get the shortestSide from screen
Get.context.mediaQueryShortestSide()
context.mediaQueryShortestSide()
/// True if width be larger than 800
Get.context.showNavbar()
context.showNavbar()
/// True if the shortestSide is smaller than 600p
Get.context.isPhone()
context.isPhone()
/// True if the shortestSide is largest than 600p
Get.context.isSmallTablet()
context.isSmallTablet()
/// True if the shortestSide is largest than 720p
Get.context.isLargeTablet()
context.isLargeTablet()
/// True if the current device is Tablet
Get.context.isTablet()
context.isTablet()
```
### Configuraciones globales opcionales
... ...
... ... @@ -318,10 +318,13 @@ Get.context
// Gives the context of the snackbar/dialog/bottomsheet in the foreground anywhere in your code.
Get.contextOverlay
// Note: the following methods are extensions on context. Since you
// have access to context in any place of your UI, you can use it anywhere in the UI code
// If you need a changeable height/width (like browser windows that can be scaled) you will need to use context.
context.width
context.height
// gives you the power to define half the screen now, a third of it and so on.
//Useful for responsive applications.
// param dividedBy (double) optional - default: 1
... ...
... ... @@ -299,63 +299,68 @@ Get.offNamedUntil()
// retorna qual é a plataforma
//(Esse método é completamente compatível com o FlutterWeb,
//diferente do método do framework "Platform.isAndroid")
GetPlatform.isAndroid/isIOS/isWeb...
GetPlatform.isAndroid
GetPlatform.isIOS
GetPlatform.isWeb
// Equivalente ao método: MediaQuery.of(context).size.width ou height, mas é imutável. Significa que não irá atualizar mesmo que o tamanho da tela mude (como em navegadores ou app desktop)
Get.height
Get.width
// Se você precisa de um width/height adaptável (como em navegadores em que a janela pode ser redimensionada) você precisa usar 'context'
Get.context.width
Get.context.height
// forncece o context da tela em qualquer lugar do seu código.
// fornece o context da tela em qualquer lugar do seu código.
Get.context
// fornece o context de snackbar/dialog/bottomsheet em qualquer lugar do seu código.
Get.contextOverlay
// Obs: os métodos a seguir são extensions do context. Já que se
// tem acesso ao context em qualquer lugar do código da UI, você pode usar lá
// Se você precisa de um width/height adaptável (como em navegadores em que a janela pode ser redimensionada) você precisa usar 'context'
context.width
context.height
/// similar to MediaQuery.of(this).padding
Get.mediaQueryPadding()
context.mediaQueryPadding()
/// similar to MediaQuery.of(this).viewPadding
Get.mediaQueryViewPadding()
context.mediaQueryViewPadding()
/// similar to MediaQuery.of(this).viewInsets;
Get.mediaQueryViewInsets()
context.mediaQueryViewInsets()
/// similar to MediaQuery.of(this).orientation;
Get.orientation()
context.orientation()
/// check if device is on landscape mode
Get.isLandscape()
context.isLandscape()
/// check if device is on portrait mode
Get.isPortrait()
context.isPortrait()
/// similar to MediaQuery.of(this).devicePixelRatio;
Get.devicePixelRatio()
context.devicePixelRatio()
/// similar to MediaQuery.of(this).textScaleFactor;
Get.textScaleFactor()
context.textScaleFactor()
/// get the shortestSide from screen
Get.mediaQueryShortestSide()
context.mediaQueryShortestSide()
/// True if width be larger than 800
Get.showNavbar()
context.showNavbar()
/// True if the shortestSide is smaller than 600p
Get.isPhone()
context.isPhone()
/// True if the shortestSide is largest than 600p
Get.isSmallTablet()
context.isSmallTablet()
/// True if the shortestSide is largest than 720p
Get.isLargeTablet()
context.isLargeTablet()
/// True if the current device is Tablet
Get.isTablet()
context.isTablet()
```
### Configurações Globais opcionais e configurações manuais
... ...