Skip to content

Commit

Permalink
Broken link to documentation Diagnosticable-mixin fixed in README.md (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ihoru authored Oct 11, 2022
1 parent 33830c1 commit 16c16b8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ By default, the devtool relies on `toString`, which defaults to "Instance of MyC

To have something more useful, you have two solutions:

- use the [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-class.html) API from Flutter.
- use the [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-mixin.html) API from Flutter.

For most cases, I will use [DiagnosticableTreeMixin] on your objects, followed by a custom implementation of [debugFillProperties](https://api.flutter.dev/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html).

Expand Down
2 changes: 1 addition & 1 deletion resources/translations/bn_BD/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ class Translations {

আরো দরকারী কিছু পেতে, আপনার দুটি সমাধান আছেঃ

- Flutter থেকে [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-class.html) API ব্যবহার করুন।
- Flutter থেকে [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-mixin.html) API ব্যবহার করুন।

বেশিরভাগ ক্ষেত্রে, আমি আপনার অবজেক্টে [DiagnosticableTreeMixin] ব্যবহার করব, তারপরে [debugFillProperties](https://api.flutter.dev/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html) এর একটি কাস্টম ইমপ্লিমেন্টশন হবে।

Expand Down
2 changes: 1 addition & 1 deletion resources/translations/es_MX/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Por defecto, devtool necesita `toString`, el cual por defecto es "Instance of My

Para algo más útil, tienes dos opciones:

- Usa el API [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-class.html) de Flutter.
- Usa el API [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-mixin.html) de Flutter.

Para la mayoría de los casos, esto se logrará utilizando [DiagnosticableTreeMixin]
en tus objetos, siguiendo la implementación personalizada de [debugFillProperties](https://api.flutter.dev/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html).
Expand Down
2 changes: 1 addition & 1 deletion resources/translations/fr_FR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Par défaut, le devtool s'appuie sur `toString`, qui donne par défaut "Instance

Pour avoir quelque chose de plus utile, vous avez deux solutions:

- utiliser l'API [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-class.html) de Flutter.
- utiliser l'API [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-mixin.html) de Flutter.

Dans la plupart des cas, j'utiliserai [DiagnosticableTreeMixin] sur vos objets, puis une implémentation personnalisée de [debugFillProperties](https://api.flutter.dev/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html).

Expand Down
2 changes: 1 addition & 1 deletion resources/translations/ja_JP/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ Flutter にはある瞬間のウィジェットツリーの状態を表示する

これを解決するためには以下の 2 つの方法があります。

- Flutter から提供された [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-class.html) API を使用する。
- Flutter から提供された [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-mixin.html) API を使用する。

プロバイダーに依存するオブジェクトクラスで [DiagnosticableTreeMixin] をミックスインして [debugFillProperties](https://api.flutter.dev/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html) に出力が必要なプロパティを定義してください。

Expand Down
2 changes: 1 addition & 1 deletion resources/translations/ko-KR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ provider는 위젯이기 때문에 마찬가지로 devtool에서 볼 수 있습

보다 유용하게 사용하기 위해서, 다음과 같은 두 가지 솔루션이 있습니다.

- Flutter의 [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-class.html) API를 사용하세요.
- Flutter의 [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-mixin.html) API를 사용하세요.

대부분의 경우 객체에 [debugFillProperties](https://api.flutter.dev/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html)로 커스텀한 [DiagnosticableTreeMixin]를 사용

Expand Down
2 changes: 1 addition & 1 deletion resources/translations/pt_br/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Por padrão, o devtool usa `toString`, que tem como padrão "Instance of MyClass

Para algo mais útil, existem duas soluções:

- use API [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-class.html) do Flutter
- use API [Diagnosticable](https://api.flutter.dev/flutter/foundation/Diagnosticable-mixin.html) do Flutter

Para a maioria dos casos, isso é feito usando [DiagnosticableTreeMixin] nos seus objetos, seguido de uma implementação customizada de [debugFillProperties](https://api.flutter.dev/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html).

Expand Down
2 changes: 1 addition & 1 deletion resources/translations/zh-CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ Flutter 提供的 [DevTools](https://github.com/flutter/devtools) 能够展示

如果要得到更多信息,你有两种方式:

- 使用 Flutter 提供的 [Diagnosticable](https://api.flutter-io.cn/flutter/foundation/Diagnosticable-class.html) API
- 使用 Flutter 提供的 [Diagnosticable](https://api.flutter-io.cn/flutter/foundation/Diagnosticable-mixin.html) API

在大多数情况下,你只需要在对象上使用 [DiagnosticableTreeMixin][diagnosticabletreemixin] 即可,
以下是一个自定义 [debugFillProperties](https://api.flutter-io.cn/flutter/foundation/DiagnosticableTreeMixin/debugFillProperties.html)
Expand Down

0 comments on commit 16c16b8

Please sign in to comment.