@@ -532,8 +532,8 @@ If you need to use your controller in many other places, and outside of GetBuild
classControllerextendsGetxController{
/// You do not need that. I recommend using it just for ease of syntax.
/// with static method: Controller.to.counter();
/// with no static method: Get.find<Controller>().counter();
/// with static method: Controller.to.increment();
/// with no static method: Get.find<Controller>().increment();
/// There is no difference in performance, nor any side effect of using either syntax. Only one does not need the type, and the other the IDE will autocomplete it.
staticControllergetto=>Get.find();// add this line
@@ -107,8 +107,8 @@ Si necesita usar su Controller en muchos otros lugares y fuera de GetBuilder, si
classControllerextendsGetXController{
/// You do not need that. I recommend using it just for ease of syntax.
/// with static method: Controller.to.counter();
/// with no static method: Get.find<Controller>().counter();
/// with static method: Controller.to.increment();
/// with no static method: Get.find<Controller>().increment();
/// There is no difference in performance, nor any side effect of using either syntax. Only one does not need the type, and the other the IDE will autocomplete it.
staticControllergetto=>Get.find();// add this line
@@ -534,8 +534,8 @@ Jika anda perlu menggunakan controller anda di banyak tempat, dan diluar dari Ge
classControllerextendsGetxController{
/// Anda tidak membutuhkan itu. Saya menyarankan menggunakannya hanya untuk kemudahan sintaks.
/// dengan static method: Controller.to.counter();
/// tanpa static method: Get.find<Controller>().counter();
/// dengan static method: Controller.to.increment();
/// tanpa static method: Get.find<Controller>().increment();
/// Tidak ada perbedaan dari segi performa, atau efek samping apapun dalam menggunakan kedua sintaks diatas. Yang berbeda hanyalah yang satu tidak memerlukan type, dan yang satu lagi akan di autocomplete oleh IDE.
staticControllergetto=>Get.find();// Tambahkan baris ini
@@ -515,12 +515,11 @@ GetBuilder 밖의 여러 곳에서 controller를 사용해야 하는 경우, 간
```dart
classControllerextendsGetxController{
/// 꼭 이렇게 할 필요는 없지만, 문법적으로 용이하게 사용하게 위해 이렇게 하시기를 권장합니다.
/// static 메소드로 사용할 경우: Controller.to.counter();
/// static 메소드로 사용하지 않을 경우: Get.find<Controller>().counter();
/// 이 둘 간의 성능적 차이는 없으며, 문법적 차이로 오는 부작용도 없습니다.
/// 단순히 하나는 type을 적을 필요가 없고, 다른 하나는 IDE가 자동완성 해준다는 차이점밖에 없습니다.
staticControllergetto=>Get.find();// 이 코드만 추가하세요
/// You do not need that. I recommend using it just for ease of syntax.
/// with static method: Controller.to.increment();
/// with no static method: Get.find<Controller>().increment();
/// There is no difference in performance, nor any side effect of using either syntax. Only one does not need the type, and the other the IDE will autocomplete it.
staticControllergetto=>Get.find();// add this line
@@ -114,8 +114,8 @@ class Controller extends GetController {
/// Você não precisa disso. Eu recomendo usar isso apenas
/// porque a sintaxe é mais fácil.
/// com o método estático: Controller.to.counter();
/// sem o método estático: Get.find<Controller>();
/// com o método estático: Controller.to.increment();
/// sem o método estático: Get.find<Controller>().increment();
/// Não há diferença em performance, nem efeito colateral por usar esse sintaxe. Só uma não precisa da tipage, e a outra forma a IDE vai autocompletar.
staticControllergetto=>Get.find();// adicione esta linha
@@ -507,8 +507,8 @@ class OtherClass extends StatelessWidget {
classControllerextendsGetxController{
/// You do not need that. I recommend using it just for ease of syntax.
/// with static method: Controller.to.counter();
/// with no static method: Get.find<Controller>().counter();
/// with static method: Controller.to.increment();
/// with no static method: Get.find<Controller>().increment();
/// There is no difference in performance, nor any side effect of using either syntax. Only one does not need the type, and the other the IDE will autocomplete it.
staticControllergetto=>Get.find();// add this line