Jonny Borges
Committed by GitHub

Fix typos on Readme

Showing 1 changed file with 23 additions and 24 deletions
@@ -312,68 +312,67 @@ GetPlatform.isWeb @@ -312,68 +312,67 @@ GetPlatform.isWeb
312 Get.height 312 Get.height
313 Get.width 313 Get.width
314 314
315 -// If you need a changeable height/width (like browser windows that can be scaled) you will need to use context.  
316 -Get.context.width  
317 -Get.context.height  
318 -  
319 -  
320 -// Gives the context of the screen in the foreground anywhere in your code. 315 +// Gives the current context of navigator.
321 Get.context 316 Get.context
322 317
323 // Gives the context of the snackbar/dialog/bottomsheet in the foreground anywhere in your code. 318 // Gives the context of the snackbar/dialog/bottomsheet in the foreground anywhere in your code.
324 Get.contextOverlay 319 Get.contextOverlay
325 320
  321 +// If you need a changeable height/width (like browser windows that can be scaled) you will need to use context.
  322 +context.width
  323 +context.height
  324 +
326 // gives you the power to define half the screen now, a third of it and so on. 325 // gives you the power to define half the screen now, a third of it and so on.
327 //Useful for responsive applications. 326 //Useful for responsive applications.
328 // param dividedBy (double) optional - default: 1 327 // param dividedBy (double) optional - default: 1
329 // param reducedBy (double) optional - default: 0 328 // param reducedBy (double) optional - default: 0
330 -Get.context.heightTransformer()  
331 -Get.context.widthTransformer() 329 +context.heightTransformer()
  330 +context.widthTransformer()
332 331
333 /// similar to MediaQuery.of(context).size 332 /// similar to MediaQuery.of(context).size
334 -Get.context.mediaQuerySize() 333 +context.mediaQuerySize()
335 334
336 /// similar to MediaQuery.of(context).padding 335 /// similar to MediaQuery.of(context).padding
337 -Get.context.mediaQueryPadding() 336 +context.mediaQueryPadding()
338 337
339 /// similar to MediaQuery.of(context).viewPadding 338 /// similar to MediaQuery.of(context).viewPadding
340 -Get.context.mediaQueryViewPadding() 339 +context.mediaQueryViewPadding()
341 340
342 /// similar to MediaQuery.of(context).viewInsets; 341 /// similar to MediaQuery.of(context).viewInsets;
343 -Get.context.mediaQueryViewInsets() 342 +context.mediaQueryViewInsets()
344 343
345 /// similar to MediaQuery.of(context).orientation; 344 /// similar to MediaQuery.of(context).orientation;
346 -Get.context.orientation() 345 +context.orientation()
347 346
348 /// check if device is on landscape mode 347 /// check if device is on landscape mode
349 -Get.context.isLandscape() 348 +context.isLandscape()
350 349
351 /// check if device is on portrait mode 350 /// check if device is on portrait mode
352 -Get.context.isPortrait() 351 +context.isPortrait()
353 352
354 /// similar to MediaQuery.of(context).devicePixelRatio; 353 /// similar to MediaQuery.of(context).devicePixelRatio;
355 -Get.context.devicePixelRatio() 354 +context.devicePixelRatio()
356 355
357 /// similar to MediaQuery.of(context).textScaleFactor; 356 /// similar to MediaQuery.of(context).textScaleFactor;
358 -Get.context.textScaleFactor() 357 +context.textScaleFactor()
359 358
360 /// get the shortestSide from screen 359 /// get the shortestSide from screen
361 -Get.context.mediaQueryShortestSide() 360 +context.mediaQueryShortestSide()
362 361
363 /// True if width be larger than 800 362 /// True if width be larger than 800
364 -Get.context.showNavbar() 363 +context.showNavbar()
365 364
366 /// True if the shortestSide is smaller than 600p 365 /// True if the shortestSide is smaller than 600p
367 -Get.context.isPhone() 366 +context.isPhone()
368 367
369 /// True if the shortestSide is largest than 600p 368 /// True if the shortestSide is largest than 600p
370 -Get.context.isSmallTablet() 369 +context.isSmallTablet()
371 370
372 /// True if the shortestSide is largest than 720p 371 /// True if the shortestSide is largest than 720p
373 -Get.context.isLargeTablet() 372 +context.isLargeTablet()
374 373
375 /// True if the current device is Tablet 374 /// True if the current device is Tablet
376 -Get.context.isTablet() 375 +context.isTablet()
377 ``` 376 ```
378 377
379 ### Optional Global Settings and Manual configurations 378 ### Optional Global Settings and Manual configurations
@@ -428,7 +427,7 @@ Get.config( @@ -428,7 +427,7 @@ Get.config(
428 | MapX | `RxMax` | 427 | MapX | `RxMax` |
429 | ListX | `RxList` | 428 | ListX | `RxList` |
430 | NumX | `RxNum` | 429 | NumX | `RxNum` |
431 -| RxDouble | `RxDouble` | 430 +| DoubleX | `RxDouble` |
432 431
433 RxController and GetBuilder now have merged, you no longer need to memorize which controller you want to use, just use GetxController, it will work for simple state management and for reactive as well. 432 RxController and GetBuilder now have merged, you no longer need to memorize which controller you want to use, just use GetxController, it will work for simple state management and for reactive as well.
434 433