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
0bc43682
Unverified
Commit
0bc43682
authored
Jul 02, 2020
by
Pierre-Louis
Committed by
GitHub
Jul 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo sweep (#60693)
parent
ec3368ae
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
18 additions
and
19 deletions
+18
-19
backdrop_demo.dart
...ests/flutter_gallery/lib/demo/material/backdrop_demo.dart
+1
-1
text_form_field_demo_test.dart
...gallery/test/demo/material/text_form_field_demo_test.dart
+1
-1
navigation_rail.dart
packages/flutter/lib/src/material/navigation_rail.dart
+1
-1
scaffold.dart
packages/flutter/lib/src/material/scaffold.dart
+2
-3
inherited_theme.dart
packages/flutter/lib/src/widgets/inherited_theme.dart
+1
-1
nested_scroll_view.dart
packages/flutter/lib/src/widgets/nested_scroll_view.dart
+1
-1
routes.dart
packages/flutter/lib/src/widgets/routes.dart
+1
-1
sliver_fill.dart
packages/flutter/lib/src/widgets/sliver_fill.dart
+3
-3
text_field_test.dart
packages/flutter/test/cupertino/text_field_test.dart
+1
-1
text_field_test.dart
packages/flutter/test/material/text_field_test.dart
+1
-1
selectable_text_test.dart
packages/flutter/test/widgets/selectable_text_test.dart
+2
-2
binding.dart
packages/flutter_test/lib/src/binding.dart
+1
-1
web.dart
packages/flutter_tools/lib/src/build_system/targets/web.dart
+1
-1
fuchsia_pm.dart
packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart
+1
-1
No files found.
dev/integration_tests/flutter_gallery/lib/demo/material/backdrop_demo.dart
View file @
0bc43682
...
@@ -146,7 +146,7 @@ class CategoryView extends StatelessWidget {
...
@@ -146,7 +146,7 @@ class CategoryView extends StatelessWidget {
}
}
// One BackdropPanel is visible at a time. It's stacked on top of the
// One BackdropPanel is visible at a time. It's stacked on top of the
//
the
BackdropDemo.
// BackdropDemo.
class
BackdropPanel
extends
StatelessWidget
{
class
BackdropPanel
extends
StatelessWidget
{
const
BackdropPanel
({
const
BackdropPanel
({
Key
key
,
Key
key
,
...
...
dev/integration_tests/flutter_gallery/test/demo/material/text_form_field_demo_test.dart
View file @
0bc43682
...
@@ -22,7 +22,7 @@ void main() {
...
@@ -22,7 +22,7 @@ void main() {
final
Finder
passwordField
=
find
.
widgetWithText
(
TextFormField
,
'Password *'
);
final
Finder
passwordField
=
find
.
widgetWithText
(
TextFormField
,
'Password *'
);
expect
(
passwordField
,
findsOneWidget
);
expect
(
passwordField
,
findsOneWidget
);
// Verify th
e th
at the phone number's TextInputFormatter does what's expected.
// Verify that the phone number's TextInputFormatter does what's expected.
await
tester
.
enterText
(
phoneNumberField
,
'1234567890'
);
await
tester
.
enterText
(
phoneNumberField
,
'1234567890'
);
await
tester
.
pumpAndSettle
();
await
tester
.
pumpAndSettle
();
expect
(
find
.
text
(
'(123) 456-7890'
),
findsOneWidget
);
expect
(
find
.
text
(
'(123) 456-7890'
),
findsOneWidget
);
...
...
packages/flutter/lib/src/material/navigation_rail.dart
View file @
0bc43682
...
@@ -166,7 +166,7 @@ class NavigationRail extends StatefulWidget {
...
@@ -166,7 +166,7 @@ class NavigationRail extends StatefulWidget {
///
///
/// The extended state has a wider rail container, and the labels are
/// The extended state has a wider rail container, and the labels are
/// positioned next to the icons. [minExtendedWidth] can be used to set the
/// positioned next to the icons. [minExtendedWidth] can be used to set the
///
the
minimum width of the rail when it is in this state.
/// minimum width of the rail when it is in this state.
///
///
/// The rail will implicitly animate between the extended and normal state.
/// The rail will implicitly animate between the extended and normal state.
///
///
...
...
packages/flutter/lib/src/material/scaffold.dart
View file @
0bc43682
...
@@ -1034,9 +1034,8 @@ class Scaffold extends StatefulWidget {
...
@@ -1034,9 +1034,8 @@ class Scaffold extends StatefulWidget {
/// instead of only extending to the top of the [bottomNavigationBar]
/// instead of only extending to the top of the [bottomNavigationBar]
/// or the [persistentFooterButtons].
/// or the [persistentFooterButtons].
///
///
/// If true, a [MediaQuery] widget whose bottom padding matches the
/// If true, a [MediaQuery] widget whose bottom padding matches the height
/// the height of the [bottomNavigationBar] will be added above the
/// of the [bottomNavigationBar] will be added above the scaffold's [body].
/// scaffold's [body].
///
///
/// This property is often useful when the [bottomNavigationBar] has
/// This property is often useful when the [bottomNavigationBar] has
/// a non-rectangular shape, like [CircularNotchedRectangle], which
/// a non-rectangular shape, like [CircularNotchedRectangle], which
...
...
packages/flutter/lib/src/widgets/inherited_theme.dart
View file @
0bc43682
...
@@ -123,7 +123,7 @@ abstract class InheritedTheme extends InheritedWidget {
...
@@ -123,7 +123,7 @@ abstract class InheritedTheme extends InheritedWidget {
final
Type
themeType
=
theme
.
runtimeType
;
final
Type
themeType
=
theme
.
runtimeType
;
// Only remember the first theme of any type. This assumes
// Only remember the first theme of any type. This assumes
// that inherited themes completely shadow ancestors of the
// that inherited themes completely shadow ancestors of the
//
the
same type.
// same type.
if
(!
themeTypes
.
contains
(
themeType
))
{
if
(!
themeTypes
.
contains
(
themeType
))
{
themeTypes
.
add
(
themeType
);
themeTypes
.
add
(
themeType
);
themes
.
add
(
theme
);
themes
.
add
(
theme
);
...
...
packages/flutter/lib/src/widgets/nested_scroll_view.dart
View file @
0bc43682
...
@@ -545,7 +545,7 @@ class NestedScrollViewState extends State<NestedScrollView> {
...
@@ -545,7 +545,7 @@ class NestedScrollViewState extends State<NestedScrollView> {
/// See also:
/// See also:
///
///
/// * [outerController], which exposes the [ScrollController] used by the
/// * [outerController], which exposes the [ScrollController] used by the
///
the
sliver(s) contained in [NestedScrollView.headerSliverBuilder].
/// sliver(s) contained in [NestedScrollView.headerSliverBuilder].
ScrollController
get
innerController
=>
_coordinator
.
_innerController
;
ScrollController
get
innerController
=>
_coordinator
.
_innerController
;
/// The [ScrollController] provided to the [ScrollView] in
/// The [ScrollController] provided to the [ScrollView] in
...
...
packages/flutter/lib/src/widgets/routes.dart
View file @
0bc43682
...
@@ -182,7 +182,7 @@ abstract class TransitionRoute<T> extends OverlayRoute<T> {
...
@@ -182,7 +182,7 @@ abstract class TransitionRoute<T> extends OverlayRoute<T> {
break
;
break
;
case
AnimationStatus
.
dismissed
:
case
AnimationStatus
.
dismissed
:
// We might still be an active route if a subclass is controlling the
// We might still be an active route if a subclass is controlling the
// t
he t
ransition and hits the dismissed status. For example, the iOS
// transition and hits the dismissed status. For example, the iOS
// back gesture drives this animation to the dismissed status before
// back gesture drives this animation to the dismissed status before
// removing the route and disposing it.
// removing the route and disposing it.
if
(!
isActive
)
{
if
(!
isActive
)
{
...
...
packages/flutter/lib/src/widgets/sliver_fill.dart
View file @
0bc43682
...
@@ -201,9 +201,9 @@ class _RenderSliverFractionalPadding extends RenderSliverEdgeInsetsPadding {
...
@@ -201,9 +201,9 @@ class _RenderSliverFractionalPadding extends RenderSliverEdgeInsetsPadding {
/// account in deciding how to layout this sliver.
/// account in deciding how to layout this sliver.
///
///
/// [SliverFillRemaining] will size its [child] to fill the viewport in the
/// [SliverFillRemaining] will size its [child] to fill the viewport in the
/// main axis if that space is larger than the child's extent, and the
/// main axis if that space is larger than the child's extent, and the
amount
///
the amount of space that has been scrolled beforehand has not exceeded the
///
of space that has been scrolled beforehand has not exceeded the main axis
///
main axis
extent of the viewport.
/// extent of the viewport.
///
///
/// {@tool dartpad --template=stateless_widget_scaffold}
/// {@tool dartpad --template=stateless_widget_scaffold}
///
///
...
...
packages/flutter/test/cupertino/text_field_test.dart
View file @
0bc43682
...
@@ -1680,7 +1680,7 @@ void main() {
...
@@ -1680,7 +1680,7 @@ void main() {
await
tester
.
pump
();
await
tester
.
pump
();
// Plain collapsed selection at the edge of first word. In iOS 12, the
// Plain collapsed selection at the edge of first word. In iOS 12, the
//
the
first tap after a double tap ends up putting the cursor at where
// first tap after a double tap ends up putting the cursor at where
// you tapped instead of the edge like every other single tap. This is
// you tapped instead of the edge like every other single tap. This is
// likely a bug in iOS 12 and not present in other versions.
// likely a bug in iOS 12 and not present in other versions.
expect
(
expect
(
...
...
packages/flutter/test/material/text_field_test.dart
View file @
0bc43682
...
@@ -6497,7 +6497,7 @@ void main() {
...
@@ -6497,7 +6497,7 @@ void main() {
await
tester
.
pump
();
await
tester
.
pump
();
// Plain collapsed selection at the edge of first word. In iOS 12, the
// Plain collapsed selection at the edge of first word. In iOS 12, the
//
the
first tap after a double tap ends up putting the cursor at where
// first tap after a double tap ends up putting the cursor at where
// you tapped instead of the edge like every other single tap. This is
// you tapped instead of the edge like every other single tap. This is
// likely a bug in iOS 12 and not present in other versions.
// likely a bug in iOS 12 and not present in other versions.
expect
(
expect
(
...
...
packages/flutter/test/widgets/selectable_text_test.dart
View file @
0bc43682
...
@@ -2695,7 +2695,7 @@ void main() {
...
@@ -2695,7 +2695,7 @@ void main() {
await
tester
.
pump
();
await
tester
.
pump
();
// Plain collapsed selection at the edge of first word. In iOS 12, the
// Plain collapsed selection at the edge of first word. In iOS 12, the
//
the
first tap after a double tap ends up putting the cursor at where
// first tap after a double tap ends up putting the cursor at where
// you tapped instead of the edge like every other single tap. This is
// you tapped instead of the edge like every other single tap. This is
// likely a bug in iOS 12 and not present in other versions.
// likely a bug in iOS 12 and not present in other versions.
expect
(
expect
(
...
@@ -3493,7 +3493,7 @@ void main() {
...
@@ -3493,7 +3493,7 @@ void main() {
expect
(
expect
(
tester
.
getSize
(
find
.
byType
(
SelectableText
)),
tester
.
getSize
(
find
.
byType
(
SelectableText
)),
// When the strut fontSize is larger than a provided TextStyle, the
// When the strut fontSize is larger than a provided TextStyle, the
//
the
strut's height takes precedence.
// strut's height takes precedence.
const
Size
(
93.0
,
54.0
),
const
Size
(
93.0
,
54.0
),
);
);
},
},
...
...
packages/flutter_test/lib/src/binding.dart
View file @
0bc43682
...
@@ -478,7 +478,7 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
...
@@ -478,7 +478,7 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
/// The current client of the onscreen keyboard. Callers must pump
/// The current client of the onscreen keyboard. Callers must pump
/// an additional frame after setting this property to complete the
/// an additional frame after setting this property to complete the
///
the
focus change.
/// focus change.
///
///
/// Instead of setting this directly, consider using
/// Instead of setting this directly, consider using
/// [WidgetTester.showKeyboard].
/// [WidgetTester.showKeyboard].
...
...
packages/flutter_tools/lib/src/build_system/targets/web.dart
View file @
0bc43682
...
@@ -503,7 +503,7 @@ self.addEventListener("fetch", (event) => {
...
@@ -503,7 +503,7 @@ self.addEventListener("fetch", (event) => {
if
(
event
.
request
.
url
==
origin
||
event
.
request
.
url
.
startsWith
(
origin
+
'/#'
))
{
if
(
event
.
request
.
url
==
origin
||
event
.
request
.
url
.
startsWith
(
origin
+
'/#'
))
{
key
=
'/'
;
key
=
'/'
;
}
}
// If the URL is not the
the
RESOURCE list, skip the cache.
// If the URL is not the RESOURCE list, skip the cache.
if
(!
RESOURCES
[
key
])
{
if
(!
RESOURCES
[
key
])
{
return
event
.
respondWith
(
fetch
(
event
.
request
));
return
event
.
respondWith
(
fetch
(
event
.
request
));
}
}
...
...
packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart
View file @
0bc43682
...
@@ -164,7 +164,7 @@ class FuchsiaPM {
...
@@ -164,7 +164,7 @@ class FuchsiaPM {
///
///
/// [FuchsiaPackageServer] takes care of initializing the package repository,
/// [FuchsiaPackageServer] takes care of initializing the package repository,
/// spinning up the package server, publishing packages, and shutting down the
/// spinning up the package server, publishing packages, and shutting down the
///
the
server.
/// server.
///
///
/// Example usage:
/// Example usage:
/// var server = FuchsiaPackageServer(
/// var server = FuchsiaPackageServer(
...
...
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