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
cf309b61
Unverified
Commit
cf309b61
authored
Aug 24, 2022
by
eggfly
Committed by
GitHub
Aug 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos (#110077)
parent
464c8a99
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
ink_sparkle.dart
packages/flutter/lib/src/material/ink_sparkle.dart
+3
-3
skia_client.dart
packages/flutter_goldens_client/lib/skia_client.dart
+1
-1
build_info.dart
packages/flutter_tools/lib/src/build_info.dart
+1
-1
RunnerTests.m
...es/integration_test/example/ios/RunnerTests/RunnerTests.m
+1
-1
No files found.
packages/flutter/lib/src/material/ink_sparkle.dart
View file @
cf309b61
...
@@ -121,7 +121,7 @@ class InkSparkle extends InteractiveInkFeature {
...
@@ -121,7 +121,7 @@ class InkSparkle extends InteractiveInkFeature {
_clipCallback
=
_getClipCallback
(
referenceBox
,
containedInkWell
,
rectCallback
),
_clipCallback
=
_getClipCallback
(
referenceBox
,
containedInkWell
,
rectCallback
),
super
(
controller:
controller
,
referenceBox:
referenceBox
)
{
super
(
controller:
controller
,
referenceBox:
referenceBox
)
{
// InkSparkle will not be painted until the async compilation completes.
// InkSparkle will not be painted until the async compilation completes.
_InkSparkleFactory
.
compileShaderIfNec
c
essary
();
_InkSparkleFactory
.
compileShaderIfNecessary
();
controller
.
addInkFeature
(
this
);
controller
.
addInkFeature
(
this
);
// All animation values are derived from Android 12 source code. See:
// All animation values are derived from Android 12 source code. See:
...
@@ -270,7 +270,7 @@ class InkSparkle extends InteractiveInkFeature {
...
@@ -270,7 +270,7 @@ class InkSparkle extends InteractiveInkFeature {
// InkSparkle can only paint if its shader has been compiled.
// InkSparkle can only paint if its shader has been compiled.
if
(
_InkSparkleFactory
.
_shaderManager
==
null
)
{
if
(
_InkSparkleFactory
.
_shaderManager
==
null
)
{
// Skipping paintFeature because the shader it relies on is not ready to
// Skipping paintFeature because the shader it relies on is not ready to
// be used. InkSparkleFactory.compileShaderIfNec
c
essary must complete
// be used. InkSparkleFactory.compileShaderIfNecessary must complete
// before InkSparkle can paint.
// before InkSparkle can paint.
return
;
return
;
}
}
...
@@ -430,7 +430,7 @@ class _InkSparkleFactory extends InteractiveInkFeatureFactory {
...
@@ -430,7 +430,7 @@ class _InkSparkleFactory extends InteractiveInkFeatureFactory {
const
_InkSparkleFactory
.
constantTurbulenceSeed
()
:
turbulenceSeed
=
1337.0
;
const
_InkSparkleFactory
.
constantTurbulenceSeed
()
:
turbulenceSeed
=
1337.0
;
static
void
compileShaderIfNec
c
essary
()
{
static
void
compileShaderIfNecessary
()
{
if
(!
_initCalled
)
{
if
(!
_initCalled
)
{
FragmentShaderManager
.
inkSparkle
().
then
((
FragmentShaderManager
manager
)
{
FragmentShaderManager
.
inkSparkle
().
then
((
FragmentShaderManager
manager
)
{
_shaderManager
=
manager
;
_shaderManager
=
manager
;
...
...
packages/flutter_goldens_client/lib/skia_client.dart
View file @
cf309b61
...
@@ -139,7 +139,7 @@ class SkiaGoldClient {
...
@@ -139,7 +139,7 @@ class SkiaGoldClient {
/// backend, the `init` argument initializes the current test. Used by the
/// backend, the `init` argument initializes the current test. Used by the
/// [FlutterPostSubmitFileComparator].
/// [FlutterPostSubmitFileComparator].
Future
<
void
>
imgtestInit
()
async
{
Future
<
void
>
imgtestInit
()
async
{
// This client has already been intialized
// This client has already been in
i
tialized
if
(
_initialized
)
{
if
(
_initialized
)
{
return
;
return
;
}
}
...
...
packages/flutter_tools/lib/src/build_info.dart
View file @
cf309b61
...
@@ -594,7 +594,7 @@ String getDartNameForDarwinArch(DarwinArch arch) {
...
@@ -594,7 +594,7 @@ String getDartNameForDarwinArch(DarwinArch arch) {
// Returns Apple's name for the specified target architecture.
// Returns Apple's name for the specified target architecture.
//
//
// When invoking Apple tools such as `xcodebuild` or `lipo`, the tool often
// When invoking Apple tools such as `xcodebuild` or `lipo`, the tool often
// passes one or more target architectures as paramters. The names returned by
// passes one or more target architectures as param
e
ters. The names returned by
// this function reflect Apple's name for the specified architecture.
// this function reflect Apple's name for the specified architecture.
//
//
// For consistency with developer expectations, Flutter outputs also use these
// For consistency with developer expectations, Flutter outputs also use these
...
...
packages/integration_test/example/ios/RunnerTests/RunnerTests.m
View file @
cf309b61
...
@@ -67,7 +67,7 @@ INTEGRATION_TEST_IOS_RUNNER(RunnerTests)
...
@@ -67,7 +67,7 @@ INTEGRATION_TEST_IOS_RUNNER(RunnerTests)
XCTAssertEqualObjects
([
FLTIntegrationTestRunner
XCTAssertEqualObjects
([
FLTIntegrationTestRunner
testCaseNameFromDartTestName
:
@"VALIDATE multi-point 🚀 UNICODE123: 😁"
],
@"testValidateMultiPointUnicode123"
);
testCaseNameFromDartTestName
:
@"VALIDATE multi-point 🚀 UNICODE123: 😁"
],
@"testValidateMultiPointUnicode123"
);
XCTAssertEqualObjects
([
FLTIntegrationTestRunner
XCTAssertEqualObjects
([
FLTIntegrationTestRunner
testCaseNameFromDartTestName
:
@"!UPPERCASE:
\\
lower_sep
erate?"
],
@"testUppercaseLowerSepe
rate"
);
testCaseNameFromDartTestName
:
@"!UPPERCASE:
\\
lower_sep
arate?"
],
@"testUppercaseLowerSepa
rate"
);
}
}
-
(
void
)
testDuplicatedDartTests
{
-
(
void
)
testDuplicatedDartTests
{
...
...
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