-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
After e0ed12c I get this error when building:
[ ] [ +566 ms] Error: Could not resolve the package 'characters' in 'package:characters/characters.dart'.
[ ] [ +215 ms] ../../flutter/packages/flutter/lib/src/material/text_field.dart:9:8: Error: Not found: 'package:characters/characters.dart'
[ ] [ ] import 'package:characters/characters.dart';
[ ] [ ] ^
[ ] [ +261 ms] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:10:8: Error: Not found: 'package:characters/characters.dart'
[ ] [ ] import 'package:characters/characters.dart';
[ ] [ ] ^
[ +37 ms] [ +96 ms] ../../flutter/packages/flutter/lib/src/services/text_formatter.dart:9:8: Error: Not found: 'package:characters/characters.dart'
[ ] [ ] import 'package:characters/characters.dart';
[ ] [ ] ^
[+3398 ms] [+3415 ms] ../../flutter/packages/flutter/lib/src/material/text_field.dart:801:61: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] int get _currentLength => _effectiveController.value.text.characters.length;
[ ] [ ] ^^^^^^^^^^
[ ] [ +2 ms] ../../flutter/packages/flutter/lib/src/material/text_field.dart:855:43: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] if (_effectiveController.value.text.characters.length > widget.maxLength) {
[ ] [ ] ^^^^^^^^^^
[+1698 ms] [+1665 ms] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:243:64: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] assert(obscuringCharacter != null && obscuringCharacter.characters.length == 1),
[ ] [ ] ^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:358:35: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] assert(value != null && value.characters.length == 1);
[ ] [ ] ^^^^^^^^^^
[ ] [ +2 ms] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:564:11: Error: 'Characters' isn't a type.
[ ] [ ] final Characters remaining = string.characters.skipWhile((String currentString) {
[ ] [ ] ^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:564:41: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] final Characters remaining = string.characters.skipWhile((String currentString) {
[ ] [ ] ^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:572:42: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] return _isWhitespace(currentString.characters.first.toString().codeUnitAt(0));
[ ] [ ] ^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:597:47: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] for (final String currentString in string.characters) {
[ ] [ ] ^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/rendering/editable.dart:599:40: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] !_isWhitespace(currentString.characters.first.toString().codeUnitAt(0))) {
[ ] [ ] ^^^^^^^^^^
[ +495 ms] [ +466 ms] ../../flutter/packages/flutter/lib/src/services/text_formatter.dart:180:11: Error: 'CharacterRange' isn't a type.
[ ] [ ] final CharacterRange iterator = CharacterRange(value.text);
[ ] [ ] ^^^^^^^^^^^^^^
[ ] [ +2 ms] ../../flutter/packages/flutter/lib/src/services/text_formatter.dart:180:37: Error: Method not found: 'CharacterRange'.
[ ] [ ] final CharacterRange iterator = CharacterRange(value.text);
[ ] [ ] ^^^^^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/services/text_formatter.dart:181:20: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] if (value.text.characters.length > maxLength) {
[ ] [ ] ^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/services/text_formatter.dart:200:61: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] if (maxLength != null && maxLength > 0 && newValue.text.characters.length > maxLength) {
[ ] [ ] ^^^^^^^^^^
[ ] [ ] ../../flutter/packages/flutter/lib/src/services/text_formatter.dart:203:25: Error: The getter 'characters' isn't defined for the class 'String'.
[ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'.
[ ] [ ] if (oldValue.text.characters.length == maxLength) {
[ ] [ ] ^^^^^^^^^^
calvinmuller, bluemix, piecubed, steelx, Ruzo and 29 more
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.