Showing
1 changed file
with
3 additions
and
3 deletions
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | - [SmartManagement](#smartmanagement) | 14 | - [SmartManagement](#smartmanagement) |
15 | - [設定の変更方法](#設定の変更方法) | 15 | - [設定の変更方法](#設定の変更方法) |
16 | - [SmartManagement.full](#smartmanagementfull) | 16 | - [SmartManagement.full](#smartmanagementfull) |
17 | - - [SmartManagement.onlyBuilders](#smartmanagementonlybuilders) | 17 | + - [SmartManagement.onlyBuilder](#smartmanagementonlybuilder) |
18 | - [SmartManagement.keepFactory](#smartmanagementkeepfactory) | 18 | - [SmartManagement.keepFactory](#smartmanagementkeepfactory) |
19 | - [Bindingsの仕組み](#Bindingsの仕組み) | 19 | - [Bindingsの仕組み](#Bindingsの仕組み) |
20 | - [補足](#補足) | 20 | - [補足](#補足) |
@@ -367,7 +367,7 @@ getPages: [ | @@ -367,7 +367,7 @@ getPages: [ | ||
367 | void main () { | 367 | void main () { |
368 | runApp( | 368 | runApp( |
369 | GetMaterialApp( | 369 | GetMaterialApp( |
370 | - smartManagement: SmartManagement.onlyBuilders // ここで設定 | 370 | + smartManagement: SmartManagement.onlyBuilder // ここで設定 |
371 | home: Home(), | 371 | home: Home(), |
372 | ) | 372 | ) |
373 | ) | 373 | ) |
@@ -378,7 +378,7 @@ void main () { | @@ -378,7 +378,7 @@ void main () { | ||
378 | 378 | ||
379 | これがデフォルトのモードです。使用されていない、かつ `permanent: true` が設定されていないオブジェクトを自動で破棄してくれます。特殊な事情がない限り、この設定は触らない方がいいでしょう。GetXを使って間がない場合は特に。 | 379 | これがデフォルトのモードです。使用されていない、かつ `permanent: true` が設定されていないオブジェクトを自動で破棄してくれます。特殊な事情がない限り、この設定は触らない方がいいでしょう。GetXを使って間がない場合は特に。 |
380 | 380 | ||
381 | -#### SmartManagement.onlyBuilders | 381 | +#### SmartManagement.onlyBuilder |
382 | `init:` もしくはBindings内で `Get.lazyPut()` により設定したビルダー製のオブジェクトだけを破棄するモードです。 | 382 | `init:` もしくはBindings内で `Get.lazyPut()` により設定したビルダー製のオブジェクトだけを破棄するモードです。 |
383 | 383 | ||
384 | もしそれが `Get.put()` や `Get.putAsync()` などのアプローチで生成したオブジェクトだとしたら、SmartManagement は勝手にメモリから除外することはできません。 | 384 | もしそれが `Get.put()` や `Get.putAsync()` などのアプローチで生成したオブジェクトだとしたら、SmartManagement は勝手にメモリから除外することはできません。 |
-
Please register or login to post a comment