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
323ffe12
Unverified
Commit
323ffe12
authored
Jun 12, 2021
by
Alexandre Ardhuin
Committed by
GitHub
Jun 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix indentation issues (#84374)
parent
62633210
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
106 additions
and
103 deletions
+106
-103
curves.dart
packages/flutter/lib/src/animation/curves.dart
+9
-9
collections.dart
packages/flutter/lib/src/foundation/collections.dart
+7
-7
binding.dart
packages/flutter/lib/src/gestures/binding.dart
+2
-2
resampler.dart
packages/flutter/lib/src/gestures/resampler.dart
+5
-5
about.dart
packages/flutter/lib/src/material/about.dart
+18
-18
chip.dart
packages/flutter/lib/src/material/chip.dart
+1
-1
ink_well.dart
packages/flutter/lib/src/material/ink_well.dart
+1
-1
input_decorator.dart
packages/flutter/lib/src/material/input_decorator.dart
+1
-1
range_slider.dart
packages/flutter/lib/src/material/range_slider.dart
+10
-10
scrollbar_theme.dart
packages/flutter/lib/src/material/scrollbar_theme.dart
+1
-1
slider_theme.dart
packages/flutter/lib/src/material/slider_theme.dart
+7
-7
binding.dart
packages/flutter/lib/src/painting/binding.dart
+2
-1
image_cache.dart
packages/flutter/lib/src/painting/image_cache.dart
+1
-1
box.dart
packages/flutter/lib/src/rendering/box.dart
+1
-1
layer.dart
packages/flutter/lib/src/rendering/layer.dart
+4
-2
sliver_persistent_header.dart
...s/flutter/lib/src/rendering/sliver_persistent_header.dart
+8
-7
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+1
-1
navigator.dart
packages/flutter/lib/src/widgets/navigator.dart
+16
-16
scroll_aware_image_provider.dart
.../flutter/lib/src/widgets/scroll_aware_image_provider.dart
+4
-4
scrollbar.dart
packages/flutter/lib/src/widgets/scrollbar.dart
+4
-4
shortcuts.dart
packages/flutter/lib/src/widgets/shortcuts.dart
+3
-4
No files found.
packages/flutter/lib/src/animation/curves.dart
View file @
323ffe12
packages/flutter/lib/src/foundation/collections.dart
View file @
323ffe12
...
@@ -275,7 +275,7 @@ void _mergeSort<T>(
...
@@ -275,7 +275,7 @@ void _mergeSort<T>(
int
end
,
int
end
,
List
<
T
>
target
,
List
<
T
>
target
,
int
targetOffset
,
int
targetOffset
,
)
{
)
{
final
int
length
=
end
-
start
;
final
int
length
=
end
-
start
;
if
(
length
<
_kMergeSortLimit
)
{
if
(
length
<
_kMergeSortLimit
)
{
_movingInsertionSort
<
T
>(
list
,
compare
,
start
,
end
,
target
,
targetOffset
);
_movingInsertionSort
<
T
>(
list
,
compare
,
start
,
end
,
target
,
targetOffset
);
...
...
packages/flutter/lib/src/gestures/binding.dart
View file @
323ffe12
packages/flutter/lib/src/gestures/resampler.dart
View file @
323ffe12
packages/flutter/lib/src/material/about.dart
View file @
323ffe12
packages/flutter/lib/src/material/chip.dart
View file @
323ffe12
packages/flutter/lib/src/material/ink_well.dart
View file @
323ffe12
packages/flutter/lib/src/material/input_decorator.dart
View file @
323ffe12
packages/flutter/lib/src/material/range_slider.dart
View file @
323ffe12
packages/flutter/lib/src/material/scrollbar_theme.dart
View file @
323ffe12
packages/flutter/lib/src/material/slider_theme.dart
View file @
323ffe12
packages/flutter/lib/src/painting/binding.dart
View file @
323ffe12
...
@@ -94,7 +94,8 @@ mixin PaintingBinding on BindingBase, ServicesBinding {
...
@@ -94,7 +94,8 @@ mixin PaintingBinding on BindingBase, ServicesBinding {
/// unnecessary memory usage for images. Callers that wish to display an image
/// unnecessary memory usage for images. Callers that wish to display an image
/// above its native resolution should prefer scaling the canvas the image is
/// above its native resolution should prefer scaling the canvas the image is
/// drawn into.
/// drawn into.
Future
<
ui
.
Codec
>
instantiateImageCodec
(
Uint8List
bytes
,
{
Future
<
ui
.
Codec
>
instantiateImageCodec
(
Uint8List
bytes
,
{
int
?
cacheWidth
,
int
?
cacheWidth
,
int
?
cacheHeight
,
int
?
cacheHeight
,
bool
allowUpscaling
=
false
,
bool
allowUpscaling
=
false
,
...
...
packages/flutter/lib/src/painting/image_cache.dart
View file @
323ffe12
packages/flutter/lib/src/rendering/box.dart
View file @
323ffe12
packages/flutter/lib/src/rendering/layer.dart
View file @
323ffe12
...
@@ -2282,8 +2282,10 @@ class FollowerLayer extends ContainerLayer {
...
@@ -2282,8 +2282,10 @@ class FollowerLayer extends ContainerLayer {
/// Returns null if [a] [b] do not share a common ancestor, in which case the
/// Returns null if [a] [b] do not share a common ancestor, in which case the
/// results in [ancestorsA] and [ancestorsB] are undefined.
/// results in [ancestorsA] and [ancestorsB] are undefined.
static
Layer
?
_pathsToCommonAncestor
(
static
Layer
?
_pathsToCommonAncestor
(
Layer
?
a
,
Layer
?
b
,
Layer
?
a
,
List
<
ContainerLayer
?>
ancestorsA
,
List
<
ContainerLayer
?>
ancestorsB
,
Layer
?
b
,
List
<
ContainerLayer
?>
ancestorsA
,
List
<
ContainerLayer
?>
ancestorsB
,
)
{
)
{
// No common ancestor found.
// No common ancestor found.
if
(
a
==
null
||
b
==
null
)
if
(
a
==
null
||
b
==
null
)
...
...
packages/flutter/lib/src/rendering/sliver_persistent_header.dart
View file @
323ffe12
...
@@ -18,7 +18,8 @@ import 'viewport_offset.dart';
...
@@ -18,7 +18,8 @@ import 'viewport_offset.dart';
// Trims the specified edges of the given `Rect` [original], so that they do not
// Trims the specified edges of the given `Rect` [original], so that they do not
// exceed the given values.
// exceed the given values.
Rect
?
_trim
(
Rect
?
original
,
{
Rect
?
_trim
(
Rect
?
original
,
{
double
top
=
-
double
.
infinity
,
double
top
=
-
double
.
infinity
,
double
right
=
double
.
infinity
,
double
right
=
double
.
infinity
,
double
bottom
=
double
.
infinity
,
double
bottom
=
double
.
infinity
,
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
323ffe12
packages/flutter/lib/src/widgets/navigator.dart
View file @
323ffe12
packages/flutter/lib/src/widgets/scroll_aware_image_provider.dart
View file @
323ffe12
packages/flutter/lib/src/widgets/scrollbar.dart
View file @
323ffe12
packages/flutter/lib/src/widgets/shortcuts.dart
View file @
323ffe12
...
@@ -336,8 +336,8 @@ class LogicalKeySet extends KeySet<LogicalKeyboardKey> with Diagnosticable
...
@@ -336,8 +336,8 @@ class LogicalKeySet extends KeySet<LogicalKeyboardKey> with Diagnosticable
@override
@override
String
debugDescribeKeys
()
{
String
debugDescribeKeys
()
{
final
List
<
LogicalKeyboardKey
>
sortedKeys
=
keys
.
toList
()
..
sort
(
final
List
<
LogicalKeyboardKey
>
sortedKeys
=
keys
.
toList
()
(
LogicalKeyboardKey
a
,
LogicalKeyboardKey
b
)
{
..
sort
(
(
LogicalKeyboardKey
a
,
LogicalKeyboardKey
b
)
{
// Put the modifiers first. If it has a synonym, then it's something
// Put the modifiers first. If it has a synonym, then it's something
// like shiftLeft, altRight, etc.
// like shiftLeft, altRight, etc.
final
bool
aIsModifier
=
a
.
synonyms
.
isNotEmpty
||
_modifiers
.
contains
(
a
);
final
bool
aIsModifier
=
a
.
synonyms
.
isNotEmpty
||
_modifiers
.
contains
(
a
);
...
@@ -348,8 +348,7 @@ class LogicalKeySet extends KeySet<LogicalKeyboardKey> with Diagnosticable
...
@@ -348,8 +348,7 @@ class LogicalKeySet extends KeySet<LogicalKeyboardKey> with Diagnosticable
return
1
;
return
1
;
}
}
return
a
.
debugName
!.
compareTo
(
b
.
debugName
!);
return
a
.
debugName
!.
compareTo
(
b
.
debugName
!);
},
});
);
return
sortedKeys
.
map
<
String
>((
LogicalKeyboardKey
key
)
=>
key
.
debugName
.
toString
()).
join
(
' + '
);
return
sortedKeys
.
map
<
String
>((
LogicalKeyboardKey
key
)
=>
key
.
debugName
.
toString
()).
join
(
' + '
);
}
}
...
...
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