Committed by
GitHub
Merge pull request #1879 from pinguluk/patch-2
Update dependency_management.md
Showing
1 changed file
with
4 additions
and
4 deletions
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | - [SmartManagement](#smartmanagement) | 14 | - [SmartManagement](#smartmanagement) |
15 | - [How to change](#how-to-change) | 15 | - [How to change](#how-to-change) |
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 | - [How bindings work under the hood](#how-bindings-work-under-the-hood) | 19 | - [How bindings work under the hood](#how-bindings-work-under-the-hood) |
20 | - [Notes](#notes) | 20 | - [Notes](#notes) |
@@ -372,7 +372,7 @@ If you want to change this config (which you usually don't need) this is the way | @@ -372,7 +372,7 @@ If you want to change this config (which you usually don't need) this is the way | ||
372 | void main () { | 372 | void main () { |
373 | runApp( | 373 | runApp( |
374 | GetMaterialApp( | 374 | GetMaterialApp( |
375 | - smartManagement: SmartManagement.onlyBuilders //here | 375 | + smartManagement: SmartManagement.onlyBuilder //here |
376 | home: Home(), | 376 | home: Home(), |
377 | ) | 377 | ) |
378 | ) | 378 | ) |
@@ -383,12 +383,12 @@ void main () { | @@ -383,12 +383,12 @@ void main () { | ||
383 | 383 | ||
384 | It is the default one. Dispose classes that are not being used and were not set to be permanent. In the majority of the cases you will want to keep this config untouched. If you new to GetX then don't change this. | 384 | It is the default one. Dispose classes that are not being used and were not set to be permanent. In the majority of the cases you will want to keep this config untouched. If you new to GetX then don't change this. |
385 | 385 | ||
386 | -#### SmartManagement.onlyBuilders | 386 | +#### SmartManagement.onlyBuilder |
387 | With this option, only controllers started in `init:` or loaded into a Binding with `Get.lazyPut()` will be disposed. | 387 | With this option, only controllers started in `init:` or loaded into a Binding with `Get.lazyPut()` will be disposed. |
388 | 388 | ||
389 | If you use `Get.put()` or `Get.putAsync()` or any other approach, SmartManagement will not have permissions to exclude this dependency. | 389 | If you use `Get.put()` or `Get.putAsync()` or any other approach, SmartManagement will not have permissions to exclude this dependency. |
390 | 390 | ||
391 | -With the default behavior, even widgets instantiated with "Get.put" will be removed, unlike SmartManagement.onlyBuilders. | 391 | +With the default behavior, even widgets instantiated with "Get.put" will be removed, unlike SmartManagement.onlyBuilder. |
392 | 392 | ||
393 | #### SmartManagement.keepFactory | 393 | #### SmartManagement.keepFactory |
394 | 394 |
-
Please register or login to post a comment