Committed by
won
translate README.md on korean
Typo correction README.md
Showing
2 changed files
with
46 additions
and
46 deletions
@@ -380,40 +380,40 @@ Get.changeTheme(Get.isDarkMode? ThemeData.light(): ThemeData.dark()); | @@ -380,40 +380,40 @@ Get.changeTheme(Get.isDarkMode? ThemeData.light(): ThemeData.dark()); | ||
380 | ## 기타 고급 API | 380 | ## 기타 고급 API |
381 | 381 | ||
382 | ```dart | 382 | ```dart |
383 | -// give the current args from currentScreen | 383 | +// currentScreen에서 현재 인수들을 제공 |
384 | Get.arguments | 384 | Get.arguments |
385 | 385 | ||
386 | -// give name of previous route | 386 | +// 이전 경로의 이름을 제공 |
387 | Get.previousRoute | 387 | Get.previousRoute |
388 | 388 | ||
389 | -// give the raw route to access for example, rawRoute.isFirst() | 389 | +// rawRoute.isFirst()와 같은 접근에 필요한 원시 경로를 제공 |
390 | Get.rawRoute | 390 | Get.rawRoute |
391 | 391 | ||
392 | -// give access to Rounting API from GetObserver | 392 | +// GetObserver로 부터 Rounting API의 접근을 제공 |
393 | Get.routing | 393 | Get.routing |
394 | 394 | ||
395 | -// check if snackbar is open | 395 | +// snackbar가 열려 있는지 확인 |
396 | Get.isSnackbarOpen | 396 | Get.isSnackbarOpen |
397 | 397 | ||
398 | -// check if dialog is open | 398 | +// dialog가 열려 있는지 확인 |
399 | Get.isDialogOpen | 399 | Get.isDialogOpen |
400 | 400 | ||
401 | -// check if bottomsheet is open | 401 | +// bottomsheet가 열려 있는지 확인 |
402 | Get.isBottomSheetOpen | 402 | Get.isBottomSheetOpen |
403 | 403 | ||
404 | -// remove one route. | 404 | +// 1개의 경로 제거 |
405 | Get.removeRoute() | 405 | Get.removeRoute() |
406 | 406 | ||
407 | -// back repeatedly until the predicate returns true. | 407 | +// 값이 true가 될때까지 반복적으로 되돌림 |
408 | Get.until() | 408 | Get.until() |
409 | 409 | ||
410 | -// go to next route and remove all the previous routes until the predicate returns true. | 410 | +// 다음 경로로 이동하고 값이 true가 될때까지 이전 모든 경로를 제거 |
411 | Get.offUntil() | 411 | Get.offUntil() |
412 | 412 | ||
413 | -// go to next named route and remove all the previous routes until the predicate returns true. | 413 | +// 명명된 다음 경로로 이동하고 값이 true가 될때까지 이전 모든 경로를 제거 |
414 | Get.offNamedUntil() | 414 | Get.offNamedUntil() |
415 | 415 | ||
416 | -//Check in what platform the app is running | 416 | +// 앱이 구동중인 플랫폼을 확인 |
417 | GetPlatform.isAndroid | 417 | GetPlatform.isAndroid |
418 | GetPlatform.isIOS | 418 | GetPlatform.isIOS |
419 | GetPlatform.isMacOS | 419 | GetPlatform.isMacOS |
@@ -421,91 +421,91 @@ GetPlatform.isWindows | @@ -421,91 +421,91 @@ GetPlatform.isWindows | ||
421 | GetPlatform.isLinux | 421 | GetPlatform.isLinux |
422 | GetPlatform.isFuchsia | 422 | GetPlatform.isFuchsia |
423 | 423 | ||
424 | -//Check the device type | 424 | +// 장치 타입을 확인 |
425 | GetPlatform.isMobile | 425 | GetPlatform.isMobile |
426 | GetPlatform.isDesktop | 426 | GetPlatform.isDesktop |
427 | -//All platforms are supported independently in web! | ||
428 | -//You can tell if you are running inside a browser | ||
429 | -//on Windows, iOS, OSX, Android, etc. | 427 | +// 모든 플랫폼은 독립적으로 웹을 제공합니다! |
428 | +// Windows, iOS, OSX, Android 등의 | ||
429 | +// 브러우저에서 구동중이면 알 수 있습니다. | ||
430 | GetPlatform.isWeb | 430 | GetPlatform.isWeb |
431 | 431 | ||
432 | 432 | ||
433 | -// Equivalent to : MediaQuery.of(context).size.height, | ||
434 | -// but immutable. | 433 | +// MediaQuery.of(context).size.height 과 동일 |
434 | +// 하지만 불변함. | ||
435 | Get.height | 435 | Get.height |
436 | Get.width | 436 | Get.width |
437 | 437 | ||
438 | -// Gives the current context of the Navigator. | 438 | +// Navigator의 현재 context를 제공 |
439 | Get.context | 439 | Get.context |
440 | 440 | ||
441 | -// Gives the context of the snackbar/dialog/bottomsheet in the foreground, anywhere in your code. | 441 | +// 코드 어디에서든지 foreground에서 snackbar/dialog/bottomsheet의 context를 제공 |
442 | Get.contextOverlay | 442 | Get.contextOverlay |
443 | 443 | ||
444 | -// Note: the following methods are extensions on context. Since you | ||
445 | -// have access to context in any place of your UI, you can use it anywhere in the UI code | 444 | +// 주석: 다음 메소드는 context의 확장입니다. |
445 | +// UI의 모든 위치에서 컨텍스트에 액세스 할 수 있으므로 UI 코드의 어느 곳에서나 사용할 수 있습니다. | ||
446 | 446 | ||
447 | -// If you need a changeable height/width (like Desktop or browser windows that can be scaled) you will need to use context. | 447 | +// 변경되는 height/width(데스크탑이나 브라우저와 같이 늘어날 수 있는 것)가 필요하면 context를 사용해야함 |
448 | context.width | 448 | context.width |
449 | context.height | 449 | context.height |
450 | 450 | ||
451 | -// Gives you the power to define half the screen, a third of it and so on. | ||
452 | -// Useful for responsive applications. | 451 | +// 화면의 절반, 1/3 등을 정의할 수 있는 기능을 제공합니다. |
452 | +// 반응성이 높은 앱에 유용합니다. | ||
453 | // param dividedBy (double) optional - default: 1 | 453 | // param dividedBy (double) optional - default: 1 |
454 | // param reducedBy (double) optional - default: 0 | 454 | // param reducedBy (double) optional - default: 0 |
455 | context.heightTransformer() | 455 | context.heightTransformer() |
456 | context.widthTransformer() | 456 | context.widthTransformer() |
457 | 457 | ||
458 | -/// Similar to MediaQuery.of(context).size | 458 | +/// MediaQuery.of(context).size 와 유사함 |
459 | context.mediaQuerySize() | 459 | context.mediaQuerySize() |
460 | 460 | ||
461 | -/// Similar to MediaQuery.of(context).padding | 461 | +/// MediaQuery.of(context).padding 와 유사함 |
462 | context.mediaQueryPadding() | 462 | context.mediaQueryPadding() |
463 | 463 | ||
464 | -/// Similar to MediaQuery.of(context).viewPadding | 464 | +/// MediaQuery.of(context).viewPadding 와 유사함 |
465 | context.mediaQueryViewPadding() | 465 | context.mediaQueryViewPadding() |
466 | 466 | ||
467 | -/// Similar to MediaQuery.of(context).viewInsets; | 467 | +/// MediaQuery.of(context).viewInsets; 와 유사함 |
468 | context.mediaQueryViewInsets() | 468 | context.mediaQueryViewInsets() |
469 | 469 | ||
470 | -/// Similar to MediaQuery.of(context).orientation; | 470 | +/// MediaQuery.of(context).orientation; 와 유사함 |
471 | context.orientation() | 471 | context.orientation() |
472 | 472 | ||
473 | -/// Check if device is on landscape mode | 473 | +/// 장치의 가로 모드 확인 |
474 | context.isLandscape() | 474 | context.isLandscape() |
475 | 475 | ||
476 | -/// Check if device is on portrait mode | 476 | +/// 장치의 세로 모드 확인 |
477 | context.isPortrait() | 477 | context.isPortrait() |
478 | 478 | ||
479 | -/// Similar to MediaQuery.of(context).devicePixelRatio; | 479 | +/// MediaQuery.of(context).devicePixelRatio; 와 유사함 |
480 | context.devicePixelRatio() | 480 | context.devicePixelRatio() |
481 | 481 | ||
482 | -/// Similar to MediaQuery.of(context).textScaleFactor; | 482 | +/// MediaQuery.of(context).textScaleFactor; 와 유사함 |
483 | context.textScaleFactor() | 483 | context.textScaleFactor() |
484 | 484 | ||
485 | -/// Get the shortestSide from screen | 485 | +/// 화면에서 shortestSide를 제공 |
486 | context.mediaQueryShortestSide() | 486 | context.mediaQueryShortestSide() |
487 | 487 | ||
488 | /// True if width be larger than 800 | 488 | /// True if width be larger than 800 |
489 | context.showNavbar() | 489 | context.showNavbar() |
490 | 490 | ||
491 | -/// True if the shortestSide is smaller than 600p | 491 | +/// shortestSide가 600p 미만이면 True |
492 | context.isPhone() | 492 | context.isPhone() |
493 | 493 | ||
494 | -/// True if the shortestSide is largest than 600p | 494 | +/// shortestSide가 600p 이상이면 True |
495 | context.isSmallTablet() | 495 | context.isSmallTablet() |
496 | 496 | ||
497 | -/// True if the shortestSide is largest than 720p | 497 | +/// shortestSide가 720p 이상이면 True |
498 | context.isLargeTablet() | 498 | context.isLargeTablet() |
499 | 499 | ||
500 | -/// True if the current device is Tablet | 500 | +/// 현재 장치가 Tablet이면 True |
501 | context.isTablet() | 501 | context.isTablet() |
502 | 502 | ||
503 | -/// Returns a value<T> according to the screen size | ||
504 | -/// can give value for: | ||
505 | -/// watch: if the shortestSide is smaller than 300 | ||
506 | -/// mobile: if the shortestSide is smaller than 600 | ||
507 | -/// tablet: if the shortestSide is smaller than 1200 | ||
508 | -/// desktop: if width is largest than 1200 | 503 | +/// 화면 사이즈에 따라 value<T>를 반환 |
504 | +/// 반환될 수 있는 값들: | ||
505 | +/// watch: shortestSide가 300 미만일 때 | ||
506 | +/// mobile: shortestSide가 600 미만일 때 | ||
507 | +/// tablet: shortestSide가 1200 미만일 때 | ||
508 | +/// desktop: shortestSide가 1200 이상일 때 | ||
509 | context.responsiveValue<T>() | 509 | context.responsiveValue<T>() |
510 | ``` | 510 | ``` |
511 | 511 |
@@ -389,7 +389,7 @@ Get.previousRoute | @@ -389,7 +389,7 @@ Get.previousRoute | ||
389 | // give the raw route to access for example, rawRoute.isFirst() | 389 | // give the raw route to access for example, rawRoute.isFirst() |
390 | Get.rawRoute | 390 | Get.rawRoute |
391 | 391 | ||
392 | -// give access to Rounting API from GetObserver | 392 | +// give access to Routing API from GetObserver |
393 | Get.routing | 393 | Get.routing |
394 | 394 | ||
395 | // check if snackbar is open | 395 | // check if snackbar is open |
-
Please register or login to post a comment