Skip to content

Commit

Permalink
upodate
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhtai committed Nov 19, 2024
1 parent 629d053 commit 4216b91
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions runtime/fixtures/runtime_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -225,35 +225,35 @@ void mainForPlatformIsolatesThrowError() {
@pragma('vm:entry-point')
void sendSemanticsUpdate() {
final SemanticsUpdateBuilder builder = SemanticsUpdateBuilder();
final String identifier = "identifier";
final String label = "label";
const String identifier = 'identifier';
const String label = 'label';
final List<StringAttribute> labelAttributes = <StringAttribute> [
SpellOutStringAttribute(range: TextRange(start: 1, end: 2)),
SpellOutStringAttribute(range: const TextRange(start: 1, end: 2)),
];

final String value = "value";
const String value = 'value';
final List<StringAttribute> valueAttributes = <StringAttribute> [
SpellOutStringAttribute(range: TextRange(start: 2, end: 3)),
SpellOutStringAttribute(range: const TextRange(start: 2, end: 3)),
];

final String increasedValue = "increasedValue";
const String increasedValue = 'increasedValue';
final List<StringAttribute> increasedValueAttributes = <StringAttribute> [
SpellOutStringAttribute(range: TextRange(start: 4, end: 5)),
SpellOutStringAttribute(range: const TextRange(start: 4, end: 5)),
];

final String decreasedValue = "decreasedValue";
const String decreasedValue = 'decreasedValue';
final List<StringAttribute> decreasedValueAttributes = <StringAttribute> [
SpellOutStringAttribute(range: TextRange(start: 5, end: 6)),
SpellOutStringAttribute(range: const TextRange(start: 5, end: 6)),
];

final String hint = "hint";
const String hint = 'hint';
final List<StringAttribute> hintAttributes = <StringAttribute> [
LocaleStringAttribute(
locale: Locale('en', 'MX'), range: TextRange(start: 0, end: 1),
locale: const Locale('en', 'MX'), range: const TextRange(start: 0, end: 1),
),
];

String tooltip = "tooltip";
const String tooltip = 'tooltip';

final Float64List transform = Float64List(16);
final Int32List childrenInTraversalOrder = Int32List(0);
Expand Down Expand Up @@ -292,7 +292,7 @@ void sendSemanticsUpdate() {
scrollPosition: 0,
scrollExtentMax: 0,
scrollExtentMin: 0,
rect: Rect.fromLTRB(0, 0, 10, 10),
rect: const Rect.fromLTRB(0, 0, 10, 10),
elevation: 0,
thickness: 0,
identifier: identifier,
Expand Down

0 comments on commit 4216b91

Please sign in to comment.