This commit is contained in:
Dan Field
2020-01-27 14:36:02 -08:00
committed by GitHub
parent 31cd3c7b80
commit 8b2993337a
196 changed files with 1605 additions and 1682 deletions

View File

@@ -563,35 +563,36 @@ void main() {
children: <Widget>[
const Text('Hello1', key: ValueKey<String>('text1')),
Container(
height: 25.0,
child: RichText(
key: const ValueKey<String>('text2'),
text: const TextSpan(text: 'Hello2')
)
height: 25.0,
child: RichText(
key: const ValueKey<String>('text2'),
text: const TextSpan(text: 'Hello2'),
),
),
Container(
height: 25.0,
child: EditableText(
key: const ValueKey<String>('text3'),
controller: TextEditingController(text: 'Hello3'),
focusNode: FocusNode(),
style: const TextStyle(),
cursorColor: Colors.red,
backgroundCursorColor: Colors.black)
height: 25.0,
child: EditableText(
key: const ValueKey<String>('text3'),
controller: TextEditingController(text: 'Hello3'),
focusNode: FocusNode(),
style: const TextStyle(),
cursorColor: Colors.red,
backgroundCursorColor: Colors.black,
),
),
Container(
height: 25.0,
child: TextField(
key: const ValueKey<String>('text4'),
controller: TextEditingController(text: 'Hello4')
)
height: 25.0,
child: TextField(
key: const ValueKey<String>('text4'),
controller: TextEditingController(text: 'Hello4'),
),
),
Container(
height: 25.0,
child: TextFormField(
key: const ValueKey<String>('text5'),
controller: TextEditingController(text: 'Hello5')
)
height: 25.0,
child: TextFormField(
key: const ValueKey<String>('text5'),
controller: TextEditingController(text: 'Hello5'),
),
),
],
))

View File

@@ -18,7 +18,7 @@ void main() {
test('io_extension should throw exception', () {
expect(() => registerWebServiceExtension(call),
throwsA(isInstanceOf<UnsupportedError>()));
throwsA(isA<UnsupportedError>()));
});
});
}