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
52e2ca38
Unverified
Commit
52e2ca38
authored
Jul 01, 2021
by
Janice Collins
Committed by
GitHub
Jul 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
squash (#85484)
parent
b0bd7cf1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
20 deletions
+27
-20
app.dart
packages/flutter/lib/src/cupertino/app.dart
+3
-2
tab_view.dart
packages/flutter/lib/src/cupertino/tab_view.dart
+3
-2
app.dart
packages/flutter/lib/src/material/app.dart
+3
-2
semantics.dart
packages/flutter/lib/src/semantics/semantics.dart
+10
-8
app.dart
packages/flutter/lib/src/widgets/app.dart
+1
-1
find.dart
packages/flutter_driver/lib/src/common/find.dart
+4
-3
driver.dart
packages/flutter_driver/lib/src/driver/driver.dart
+2
-1
goldens.dart
packages/flutter_test/lib/src/goldens.dart
+1
-1
No files found.
packages/flutter/lib/src/cupertino/app.dart
View file @
52e2ca38
...
...
@@ -242,8 +242,9 @@ class CupertinoApp extends StatefulWidget {
///
/// When a named route is pushed with [Navigator.pushNamed], the route name is
/// looked up in this map. If the name is present, the associated
/// [WidgetBuilder] is used to construct a [CupertinoPageRoute] that performs
/// an appropriate transition, including [Hero] animations, to the new route.
/// [widgets.WidgetBuilder] is used to construct a [CupertinoPageRoute] that
/// performs an appropriate transition, including [Hero] animations, to the
/// new route.
///
/// {@macro flutter.widgets.widgetsApp.routes}
final
Map
<
String
,
WidgetBuilder
>?
routes
;
...
...
packages/flutter/lib/src/cupertino/tab_view.dart
View file @
52e2ca38
...
...
@@ -89,8 +89,9 @@ class CupertinoTabView extends StatefulWidget {
///
/// When a named route is pushed with [Navigator.pushNamed] inside this tab view,
/// the route name is looked up in this map. If the name is present,
/// the associated [WidgetBuilder] is used to construct a [CupertinoPageRoute]
/// that performs an appropriate transition to the new route.
/// the associated [widgets.WidgetBuilder] is used to construct a
/// [CupertinoPageRoute] that performs an appropriate transition to the new
/// route.
///
/// If the tab view only has one page, then you can specify it using [builder] instead.
///
...
...
packages/flutter/lib/src/material/app.dart
View file @
52e2ca38
...
...
@@ -284,8 +284,9 @@ class MaterialApp extends StatefulWidget {
///
/// When a named route is pushed with [Navigator.pushNamed], the route name is
/// looked up in this map. If the name is present, the associated
/// [WidgetBuilder] is used to construct a [MaterialPageRoute] that performs
/// an appropriate transition, including [Hero] animations, to the new route.
/// [widgets.WidgetBuilder] is used to construct a [MaterialPageRoute] that
/// performs an appropriate transition, including [Hero] animations, to the
/// new route.
///
/// {@macro flutter.widgets.widgetsApp.routes}
final
Map
<
String
,
WidgetBuilder
>?
routes
;
...
...
packages/flutter/lib/src/semantics/semantics.dart
View file @
52e2ca38
...
...
@@ -3289,8 +3289,9 @@ class SemanticsConfiguration {
/// This is a request to increase the value represented by the widget. For
/// example, this action might be recognized by a slider control.
///
/// If a [value] is set, [increasedValue] must also be provided and
/// [onIncrease] must ensure that [value] will be set to [increasedValue].
/// If [this.value] is set, [increasedValue] must also be provided and
/// [onIncrease] must ensure that [this.value] will be set to
/// [increasedValue].
///
/// VoiceOver users on iOS can trigger this action by swiping up with one
/// finger. TalkBack users on Android can trigger this action by pressing the
...
...
@@ -3307,8 +3308,9 @@ class SemanticsConfiguration {
/// This is a request to decrease the value represented by the widget. For
/// example, this action might be recognized by a slider control.
///
/// If a [value] is set, [decreasedValue] must also be provided and
/// [onDecrease] must ensure that [value] will be set to [decreasedValue].
/// If [this.value] is set, [decreasedValue] must also be provided and
/// [onDecrease] must ensure that [this.value] will be set to
/// [decreasedValue].
///
/// VoiceOver users on iOS can trigger this action by swiping down with one
/// finger. TalkBack users on Android can trigger this action by pressing the
...
...
@@ -4102,11 +4104,11 @@ class SemanticsConfiguration {
_setFlag
(
SemanticsFlag
.
isReadOnly
,
value
);
}
/// Whether
the [
value] should be obscured.
/// Whether
[this.
value] should be obscured.
///
/// This option is usually set in combination with [isTextField] to indicate
/// that the text field contains a password (or other sensitive information).
/// Doing so instructs screen readers to not read out
the [
value].
/// Doing so instructs screen readers to not read out
[this.
value].
bool
get
isObscured
=>
_hasFlag
(
SemanticsFlag
.
isObscured
);
set
isObscured
(
bool
value
)
{
_setFlag
(
SemanticsFlag
.
isObscured
,
value
);
...
...
@@ -4133,8 +4135,8 @@ class SemanticsConfiguration {
_setFlag
(
SemanticsFlag
.
hasImplicitScrolling
,
value
);
}
/// The currently selected text (or the position of the cursor) within
[value]
/// if this node represents a text field.
/// The currently selected text (or the position of the cursor) within
///
[this.value]
if this node represents a text field.
TextSelection
?
get
textSelection
=>
_textSelection
;
TextSelection
?
_textSelection
;
set
textSelection
(
TextSelection
?
value
)
{
...
...
packages/flutter/lib/src/widgets/app.dart
View file @
52e2ca38
...
...
@@ -610,7 +610,7 @@ class WidgetsApp extends StatefulWidget {
///
/// When a named route is pushed with [Navigator.pushNamed], the route name is
/// looked up in this map. If the name is present, the associated
/// [WidgetBuilder] is used to construct a [PageRoute] specified by
/// [
widgets.
WidgetBuilder] is used to construct a [PageRoute] specified by
/// [pageRouteBuilder] to perform an appropriate transition, including [Hero]
/// animations, to the new route.
///
...
...
packages/flutter_driver/lib/src/common/find.dart
View file @
52e2ca38
...
...
@@ -178,13 +178,14 @@ class BySemanticsLabel extends SerializableFinder {
}
}
/// A Flutter Driver finder that finds widgets by [text] inside a
[Text] or
/// [EditableText] widget.
/// A Flutter Driver finder that finds widgets by [text] inside a
/// [
widgets.Text] or [widgets.
EditableText] widget.
class
ByText
extends
SerializableFinder
{
/// Creates a text finder given the text.
const
ByText
(
this
.
text
);
/// The text that appears inside the [Text] or [EditableText] widget.
/// The text that appears inside the [widgets.Text] or [widgets.EditableText]
/// widget.
final
String
text
;
@override
...
...
packages/flutter_driver/lib/src/driver/driver.dart
View file @
52e2ca38
...
...
@@ -742,7 +742,8 @@ abstract class FlutterDriver {
class
CommonFinders
{
const
CommonFinders
.
_
();
/// Finds [Text] and [EditableText] widgets containing string equal to [text].
/// Finds [widgets.Text] and [widgets.EditableText] widgets containing string
/// equal to [text].
SerializableFinder
text
(
String
text
)
=>
ByText
(
text
);
/// Finds widgets by [key]. Only [String] and [int] values can be used.
...
...
packages/flutter_test/lib/src/goldens.dart
View file @
52e2ca38
...
...
@@ -139,7 +139,7 @@ set goldenFileComparator(GoldenFileComparator value) {
/// fake async constraints that are normally imposed on widget tests (i.e. the
/// need or the ability to call [WidgetTester.pump] to advance the microtask
/// queue). Prior to the invocation, the test framework will render only the
/// [Element] to be compared on the screen.
/// [
widgets.
Element] to be compared on the screen.
///
/// See also:
///
...
...
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