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
5bde9d28
Commit
5bde9d28
authored
Oct 19, 2016
by
Ian Hickson
Committed by
GitHub
Oct 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand Semantics dartdocs. (#6399)
I based this on a conversation I had with @mpcomplete.
parent
9eef8535
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
basic.dart
packages/flutter/lib/src/widgets/basic.dart
+17
-1
No files found.
packages/flutter/lib/src/widgets/basic.dart
View file @
5bde9d28
...
...
@@ -2694,10 +2694,26 @@ class MetaData extends SingleChildRenderObjectWidget {
// UTILITY NODES
/// A widget that annotates the widget tree with a description of the meaning of the widgets.
/// A widget that annotates the widget tree with a description of the meaning of
/// the widgets.
///
/// Used by accessibility tools, search engines, and other semantic analysis
/// software to determine the meaning of the application.
///
/// See also:
///
/// * [MergeSemantics], which marks a subtree as being a single node for
/// accessibility purposes.
/// * [ExcludeSemantics], which excludes a subtree from the semantics tree
/// (which might be useful if it is, e.g., totally decorative and not
/// important to the user).
/// * [RenderObject.semanticsAnnotator], the rendering library API through which
/// the [Semantics] widget is actually implemented.
/// * [SemanticsNode], the object used by the rendering library to represent
/// semantics in the semantics tree.
/// * [SemanticsDebugger], an overlay to help visualize the semantics tree. Can
/// be enabled using [WidgetsApp.showSemanticsDebugger] or
/// [MaterialApp.showSemanticsDebugger].
class
Semantics
extends
SingleChildRenderObjectWidget
{
/// Creates a semantic annotation.
///
...
...
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