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
868ff428
Unverified
Commit
868ff428
authored
Jan 07, 2019
by
Alexandre Ardhuin
Committed by
GitHub
Jan 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix doc-comment snippets (#25579)
parent
e54e53c1
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
96 additions
and
87 deletions
+96
-87
known_broken_documentation.dart
...ze-sample-code-test-input/known_broken_documentation.dart
+1
-1
custom_a11y_traversal.dart
examples/catalog/lib/custom_a11y_traversal.dart
+12
-12
app.dart
packages/flutter/lib/src/material/app.dart
+6
-6
bottom_navigation_bar.dart
packages/flutter/lib/src/material/bottom_navigation_bar.dart
+35
-35
button_theme.dart
packages/flutter/lib/src/material/button_theme.dart
+1
-0
icon_button.dart
packages/flutter/lib/src/material/icon_button.dart
+1
-1
typography.dart
packages/flutter/lib/src/material/typography.dart
+2
-1
decoration.dart
packages/flutter/lib/src/painting/decoration.dart
+1
-1
image_provider.dart
packages/flutter/lib/src/painting/image_provider.dart
+2
-2
image_resolution.dart
packages/flutter/lib/src/painting/image_resolution.dart
+2
-2
binding.dart
packages/flutter/lib/src/scheduler/binding.dart
+1
-1
icon.dart
packages/flutter/lib/src/widgets/icon.dart
+4
-4
image.dart
packages/flutter/lib/src/widgets/image.dart
+2
-2
navigator.dart
packages/flutter/lib/src/widgets/navigator.dart
+12
-12
platform_view.dart
packages/flutter/lib/src/widgets/platform_view.dart
+6
-0
scroll_controller.dart
packages/flutter/lib/src/widgets/scroll_controller.dart
+5
-5
scroll_physics.dart
packages/flutter/lib/src/widgets/scroll_physics.dart
+1
-0
text.dart
packages/flutter/lib/src/widgets/text.dart
+0
-1
mock_canvas.dart
packages/flutter/test/rendering/mock_canvas.dart
+1
-1
semantics_tester.dart
packages/flutter/test/widgets/semantics_tester.dart
+1
-0
No files found.
dev/bots/test/analyze-sample-code-test-input/known_broken_documentation.dart
View file @
868ff428
...
...
@@ -39,5 +39,5 @@
/// new Opacity(
/// opacity: _visible ? 1.0 : 0.0,
/// child: const Text('Poor wandering ones!'),
/// )
,
/// )
/// ```
examples/catalog/lib/custom_a11y_traversal.dart
View file @
868ff428
...
...
@@ -59,7 +59,7 @@ class RowColumnTraversal extends StatelessWidget {
/// This function expresses the sort keys as a hierarchy, but it could just as
/// easily have been a flat list:
///
/// ```
/// ```
dart
/// Widget build(BuildContext context) {
/// return new Semantics(
/// sortOrder: new SemanticsSortOrder(
...
...
packages/flutter/lib/src/material/app.dart
View file @
868ff428
packages/flutter/lib/src/material/bottom_navigation_bar.dart
View file @
868ff428
packages/flutter/lib/src/material/button_theme.dart
View file @
868ff428
...
...
@@ -265,6 +265,7 @@ class ButtonThemeData extends Diagnosticable {
/// Simply a convenience that returns [minWidth] and [height] as a
/// [BoxConstraints] object:
///
/// ```dart
/// return BoxConstraints(
/// minWidth: minWidth,
...
...
packages/flutter/lib/src/material/icon_button.dart
View file @
868ff428
...
...
@@ -151,7 +151,7 @@ class IconButton extends StatelessWidget {
/// color: Colors.blue,
/// onPressed: _handleTap,
/// icon: Icons.widgets,
/// )
,
/// )
/// ```
final
Color
color
;
...
...
packages/flutter/lib/src/material/typography.dart
View file @
868ff428
...
...
@@ -68,7 +68,8 @@ enum ScriptCategory {
/// `Typography(platform: platform)` which uses [englishLike2014],
/// [dense2014] and [tall2014]. To use the 2018 text theme
/// geometries, specify a typography value:
/// ```
///
/// ```dart
/// Typography(
/// platorm: platform,
/// englishLike: Typography.englishLike2018,
...
...
packages/flutter/lib/src/painting/decoration.dart
View file @
868ff428
packages/flutter/lib/src/painting/image_provider.dart
View file @
868ff428
packages/flutter/lib/src/painting/image_resolution.dart
View file @
868ff428
packages/flutter/lib/src/scheduler/binding.dart
View file @
868ff428
packages/flutter/lib/src/widgets/icon.dart
View file @
868ff428
...
...
@@ -82,7 +82,7 @@ class Icon extends StatelessWidget {
/// Icon(
/// icon: Icons.widgets,
/// color: Colors.blue.shade400,
///
),
///
)
/// ```
final
Color
color
;
...
...
packages/flutter/lib/src/widgets/image.dart
View file @
868ff428
packages/flutter/lib/src/widgets/navigator.dart
View file @
868ff428
packages/flutter/lib/src/widgets/platform_view.dart
View file @
868ff428
...
...
@@ -117,6 +117,7 @@ class AndroidView extends StatefulWidget {
///
/// For example, with the following setup vertical drags will not be dispatched to the Android
/// view as the vertical drag gesture is claimed by the parent [GestureDetector].
///
/// ```dart
/// GestureDetector(
/// onVerticalDragStart: (DragStartDetails d) {},
...
...
@@ -125,8 +126,10 @@ class AndroidView extends StatefulWidget {
/// ),
/// )
/// ```
///
/// To get the [AndroidView] to claim the vertical drag gestures we can pass a vertical drag
/// gesture recognizer factory in [gestureRecognizers] e.g:
///
/// ```dart
/// GestureDetector(
/// onVerticalDragStart: (DragStartDetails details) {},
...
...
@@ -247,6 +250,7 @@ class UiKitView extends StatefulWidget {
///
/// For example, with the following setup vertical drags will not be dispatched to the UIKit
/// view as the vertical drag gesture is claimed by the parent [GestureDetector].
///
/// ```dart
/// GestureDetector(
/// onVerticalDragStart: (DragStartDetails details) {},
...
...
@@ -255,8 +259,10 @@ class UiKitView extends StatefulWidget {
/// ),
/// )
/// ```
///
/// To get the [UiKitView] to claim the vertical drag gestures we can pass a vertical drag
/// gesture recognizer factory in [gestureRecognizers] e.g:
///
/// ```dart
/// GestureDetector(
/// onVerticalDragStart: (DragStartDetails details) {},
...
...
packages/flutter/lib/src/widgets/scroll_controller.dart
View file @
868ff428
packages/flutter/lib/src/widgets/scroll_physics.dart
View file @
868ff428
...
...
@@ -41,6 +41,7 @@ class ScrollPhysics {
/// ScrollPhysics that has [ancestor] as its parent.
///
/// This method is typically used to define [applyTo] methods like:
///
/// ```dart
/// FooScrollPhysics applyTo(ScrollPhysics ancestor) {
/// return FooScrollPhysics(parent: buildParent(ancestor));
...
...
packages/flutter/lib/src/widgets/text.dart
View file @
868ff428
...
...
@@ -337,7 +337,6 @@ class Text extends StatelessWidget {
///
/// ```dart
/// Text(r'$$', semanticsLabel: 'Double dollars')
///
/// ```
final
String
semanticsLabel
;
...
...
packages/flutter/test/rendering/mock_canvas.dart
View file @
868ff428
packages/flutter/test/widgets/semantics_tester.dart
View file @
868ff428
...
...
@@ -495,6 +495,7 @@ class SemanticsTester {
/// ));
/// semantics.dispose();
/// });
/// ```
///
/// At this point the unit test should automatically pass because it was
/// generated from the actual [SemanticsNode]s. Next time the semantics tree
...
...
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