Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
sukesukejijii
2021-09-27 18:27:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
09ad5ca23c8803b2644390a31d3551016432601b
09ad5ca2
1 parent
dff48d49
addressed #1879
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
documentation/ja_JP/dependency_management.md
documentation/ja_JP/dependency_management.md
View file @
09ad5ca
...
...
@@ -14,7 +14,7 @@
-
[
SmartManagement
](
#smartmanagement
)
-
[
設定の変更方法
](
#設定の変更方法
)
-
[
SmartManagement.full
](
#smartmanagementfull
)
-
[
SmartManagement.onlyBuilder
s
](
#smartmanagementonlybuilders
)
-
[
SmartManagement.onlyBuilder
](
#smartmanagementonlybuilder
)
-
[
SmartManagement.keepFactory
](
#smartmanagementkeepfactory
)
-
[
Bindingsの仕組み
](
#Bindingsの仕組み
)
-
[
補足
](
#補足
)
...
...
@@ -367,7 +367,7 @@ getPages: [
void
main
(
)
{
runApp
(
GetMaterialApp
(
smartManagement:
SmartManagement
.
onlyBuilder
s
// ここで設定
smartManagement:
SmartManagement
.
onlyBuilder
// ここで設定
home:
Home
(),
)
)
...
...
@@ -378,7 +378,7 @@ void main () {
これがデフォルトのモードです。使用されていない、かつ
`permanent: true`
が設定されていないオブジェクトを自動で破棄してくれます。特殊な事情がない限り、この設定は触らない方がいいでしょう。GetXを使って間がない場合は特に。
#### SmartManagement.onlyBuilder
s
#### SmartManagement.onlyBuilder
`init:` もしくはBindings内で `Get.lazyPut()`
により設定したビルダー製のオブジェクトだけを破棄するモードです。
もしそれが
`Get.put()` や `Get.putAsync()`
などのアプローチで生成したオブジェクトだとしたら、SmartManagement は勝手にメモリから除外することはできません。
...
...
Please
register
or
login
to post a comment