Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
e91b8339
Unverified
Commit
e91b8339
authored
Jul 23, 2020
by
Todd Volkert
Committed by
GitHub
Jul 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor doc updates (#62008)
parent
67a9ae17
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
5 deletions
+22
-5
change_notifier.dart
packages/flutter/lib/src/foundation/change_notifier.dart
+6
-0
actions.dart
packages/flutter/lib/src/widgets/actions.dart
+7
-1
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+6
-4
layout_builder.dart
packages/flutter/lib/src/widgets/layout_builder.dart
+3
-0
No files found.
packages/flutter/lib/src/foundation/change_notifier.dart
View file @
e91b8339
...
...
@@ -77,6 +77,12 @@ abstract class Listenable {
///
/// This interface is implemented by [ValueNotifier<T>] and [Animation<T>], and
/// allows other APIs to accept either of those implementations interchangeably.
///
/// See also:
///
/// * [ValueListenableBuilder], a widget that uses a builder callback to
/// rebuild whenever a [ValueListenable] object triggers its notifications,
/// providing the builder with the value of the object.
abstract
class
ValueListenable
<
T
>
extends
Listenable
{
/// Abstract const constructor. This constructor enables subclasses to provide
/// const constructors so that they can be used in const expressions.
...
...
packages/flutter/lib/src/widgets/actions.dart
View file @
e91b8339
...
...
@@ -30,11 +30,17 @@ BuildContext _getParent(BuildContext context) {
return
parent
;
}
/// A class representing a particular configuration of an
action
.
/// A class representing a particular configuration of an
[Action]
.
///
/// This class is what a key map in a [ShortcutMap] has as values, and is used
/// by an [ActionDispatcher] to look up an action and invoke it, giving it this
/// object to extract configuration information from.
///
/// See also:
///
/// * [Actions.invoke], which invokes the action associated with a specified
/// [Intent] using the [Actions] widget that most tightly encloses the given
/// [BuildContext].
@immutable
class
Intent
with
Diagnosticable
{
/// A const constructor for an [Intent].
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
e91b8339
...
...
@@ -1814,10 +1814,12 @@ abstract class SingleChildRenderObjectWidget extends RenderObjectWidget {
/// storage for that child list, it doesn't actually provide the updating
/// logic.)
///
/// This will return a [RenderObject] mixing in [ContainerRenderObjectMixin],
/// which provides the necessary functionality to visit the children of the
/// container render object (the render object belonging to the [children] widgets).
/// Typically, this is a [RenderBox] with [RenderBoxContainerDefaultsMixin].
/// Subclasses must return a [RenderObject] that mixes in
/// [ContainerRenderObjectMixin], which provides the necessary functionality to
/// visit the children of the container render object (the render object
/// belonging to the [children] widgets). Typically, subclasses will return a
/// [RenderBox] that mixes in both [ContainerRenderObjectMixin] and
/// [RenderBoxContainerDefaultsMixin].
///
/// See also:
///
...
...
packages/flutter/lib/src/widgets/layout_builder.dart
View file @
e91b8339
...
...
@@ -31,6 +31,9 @@ typedef LayoutWidgetBuilder = Widget Function(BuildContext context, BoxConstrain
/// The [builder] function is _not_ called during layout if the parent passes
/// the same constraints repeatedly.
/// {@endtemplate}
///
/// Subclasses must return a [RenderObject] that mixes in
/// [RenderConstrainedLayoutBuilder].
abstract
class
ConstrainedLayoutBuilder
<
ConstraintType
extends
Constraints
>
extends
RenderObjectWidget
{
/// Creates a widget that defers its building until layout.
///
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment