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
265ef1ef
Unverified
Commit
265ef1ef
authored
Jun 27, 2022
by
Ian Hickson
Committed by
GitHub
Jun 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export SpellOutStringAttribute and LocaleStringAttribute (#106682)
parent
2c21f536
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
18 deletions
+12
-18
semantics.dart
packages/flutter/lib/semantics.dart
+2
-0
semantics_test.dart
packages/flutter/test/semantics/semantics_test.dart
+0
-2
semantics_update_test.dart
packages/flutter/test/semantics/semantics_update_test.dart
+10
-11
rich_text_test.dart
packages/flutter/test/widgets/rich_text_test.dart
+0
-2
semantics_tester.dart
packages/flutter/test/widgets/semantics_tester.dart
+0
-2
matchers.dart
packages/flutter_test/lib/src/matchers.dart
+0
-1
No files found.
packages/flutter/lib/semantics.dart
View file @
265ef1ef
...
...
@@ -13,6 +13,8 @@
/// and is used by the platform-specific accessibility services.
library
semantics
;
export
'dart:ui'
show
LocaleStringAttribute
,
SpellOutStringAttribute
;
export
'src/semantics/binding.dart'
;
export
'src/semantics/debug.dart'
;
export
'src/semantics/semantics.dart'
;
...
...
packages/flutter/test/semantics/semantics_test.dart
View file @
265ef1ef
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:vector_math/vector_math_64.dart'
;
...
...
packages/flutter/test/semantics/semantics_update_test.dart
View file @
265ef1ef
...
...
@@ -4,7 +4,6 @@
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
;
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/semantics.dart'
;
...
...
@@ -198,15 +197,15 @@ class SemanticsUpdateBuilderSpy extends ui.SemanticsUpdateBuilder {
required
double
thickness
,
required
Rect
rect
,
required
String
label
,
List
<
ui
.
StringAttribute
>?
labelAttributes
,
List
<
StringAttribute
>?
labelAttributes
,
required
String
value
,
List
<
ui
.
StringAttribute
>?
valueAttributes
,
List
<
StringAttribute
>?
valueAttributes
,
required
String
increasedValue
,
List
<
ui
.
StringAttribute
>?
increasedValueAttributes
,
List
<
StringAttribute
>?
increasedValueAttributes
,
required
String
decreasedValue
,
List
<
ui
.
StringAttribute
>?
decreasedValueAttributes
,
List
<
StringAttribute
>?
decreasedValueAttributes
,
required
String
hint
,
List
<
ui
.
StringAttribute
>?
hintAttributes
,
List
<
StringAttribute
>?
hintAttributes
,
String
?
tooltip
,
TextDirection
?
textDirection
,
required
Float64List
transform
,
...
...
@@ -304,15 +303,15 @@ class SemanticsNodeUpdateObservation {
final
double
thickness
;
final
Rect
rect
;
final
String
label
;
final
List
<
ui
.
StringAttribute
>?
labelAttributes
;
final
List
<
StringAttribute
>?
labelAttributes
;
final
String
value
;
final
List
<
ui
.
StringAttribute
>?
valueAttributes
;
final
List
<
StringAttribute
>?
valueAttributes
;
final
String
increasedValue
;
final
List
<
ui
.
StringAttribute
>?
increasedValueAttributes
;
final
List
<
StringAttribute
>?
increasedValueAttributes
;
final
String
decreasedValue
;
final
List
<
ui
.
StringAttribute
>?
decreasedValueAttributes
;
final
List
<
StringAttribute
>?
decreasedValueAttributes
;
final
String
hint
;
final
List
<
ui
.
StringAttribute
>?
hintAttributes
;
final
List
<
StringAttribute
>?
hintAttributes
;
final
TextDirection
?
textDirection
;
final
Float64List
transform
;
final
Int32List
childrenInTraversalOrder
;
...
...
packages/flutter/test/widgets/rich_text_test.dart
View file @
265ef1ef
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter/test/widgets/semantics_tester.dart
View file @
265ef1ef
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
show
LocaleStringAttribute
,
SemanticsFlag
,
SpellOutStringAttribute
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/physics.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter_test/lib/src/matchers.dart
View file @
265ef1ef
...
...
@@ -4,7 +4,6 @@
import
'dart:math'
as
math
;
import
'dart:ui'
as
ui
;
import
'dart:ui'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
show
Card
;
...
...
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