Unverified Commit 7c9f95ac authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Minor doc changes (#52433)

Just some very minor doc changes: an adjustment of my comments in #51495, and a typo fix.
parent 7fb7ea63
...@@ -3024,8 +3024,12 @@ class DiagnosticPropertiesBuilder { ...@@ -3024,8 +3024,12 @@ class DiagnosticPropertiesBuilder {
/// string and [DiagnosticsNode] debug representations describing the properties /// string and [DiagnosticsNode] debug representations describing the properties
/// of an object. /// of an object.
/// ///
/// _This mixin is exists only to support plugins that require older Flutter /// _This mixin exists only to support plugins and packages that require older
/// versions: Use the identical mixin [Diagnosticable] instead for most code._ /// Flutter versions: Use the identical mixin [Diagnosticable] instead for all
/// new code. If you are authoring code that needs to work on the stable branch
/// as well as master (in a package, for instance), mix this in instead of
/// extending [Diagnosticable]. Once [Diagnosticable] as a mixin reaches the
/// stable channel, this class will be deprecated._
mixin DiagnosticableMixin implements Diagnosticable { mixin DiagnosticableMixin implements Diagnosticable {
@override @override
String toStringShort() => describeIdentity(this); String toStringShort() => describeIdentity(this);
......
...@@ -2054,7 +2054,7 @@ abstract class BuildContext { ...@@ -2054,7 +2054,7 @@ abstract class BuildContext {
/// Whether the [widget] is currently updating the widget or render tree. /// Whether the [widget] is currently updating the widget or render tree.
/// ///
/// For [StatefullWidget]s and [StatelessWidget]s this flag is true while /// For [StatefulWidget]s and [StatelessWidget]s this flag is true while
/// their respective build methods are executing. /// their respective build methods are executing.
/// [RenderObjectWidget]s set this to true while creating or configuring their /// [RenderObjectWidget]s set this to true while creating or configuring their
/// associated [RenderObject]s. /// associated [RenderObject]s.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment