Unverified Commit 31925d91 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

fix the tree (#68287)

parent 438c4ff2
...@@ -4738,7 +4738,7 @@ void main() { ...@@ -4738,7 +4738,7 @@ void main() {
focusNode: FocusNode(), focusNode: FocusNode(),
cursorColor: Colors.red, cursorColor: Colors.red,
backgroundCursorColor: Colors.blue, backgroundCursorColor: Colors.blue,
style: Typography.material2018(platform: TargetPlatform.android).black.subtitle1.copyWith(fontFamily: 'Roboto'), style: Typography.material2018(platform: TargetPlatform.android).black.subtitle1!.copyWith(fontFamily: 'Roboto'),
keyboardType: TextInputType.text, keyboardType: TextInputType.text,
); );
...@@ -4799,7 +4799,7 @@ void main() { ...@@ -4799,7 +4799,7 @@ void main() {
state.updateEditingValue(const TextEditingValue(text: 'remote value')); state.updateEditingValue(const TextEditingValue(text: 'remote value'));
tester.testTextInput.log.clear(); tester.testTextInput.log.clear();
String errorString; String? errorString;
try { try {
state.endBatchEdit(); state.endBatchEdit();
} catch (e) { } catch (e) {
...@@ -4836,7 +4836,7 @@ void main() { ...@@ -4836,7 +4836,7 @@ void main() {
focusNode: FocusNode(), focusNode: FocusNode(),
cursorColor: Colors.red, cursorColor: Colors.red,
backgroundCursorColor: Colors.blue, backgroundCursorColor: Colors.blue,
style: Typography.material2018(platform: TargetPlatform.android).black.subtitle1.copyWith(fontFamily: 'Roboto'), style: Typography.material2018(platform: TargetPlatform.android).black.subtitle1!.copyWith(fontFamily: 'Roboto'),
keyboardType: TextInputType.text, keyboardType: TextInputType.text,
inputFormatters: <TextInputFormatter>[LengthLimitingTextInputFormatter(6)], inputFormatters: <TextInputFormatter>[LengthLimitingTextInputFormatter(6)],
onChanged: (String s) => controller.text += ' onChanged', onChanged: (String s) => controller.text += ' onChanged',
...@@ -4923,7 +4923,7 @@ void main() { ...@@ -4923,7 +4923,7 @@ void main() {
testWidgets('input from changing controller', (WidgetTester tester) async { testWidgets('input from changing controller', (WidgetTester tester) async {
final TextEditingController controller = TextEditingController(text: testText); final TextEditingController controller = TextEditingController(text: testText);
Widget build({ TextEditingController textEditingController }) { Widget build({ TextEditingController? textEditingController }) {
return MediaQuery( return MediaQuery(
data: const MediaQueryData(), data: const MediaQueryData(),
child: Directionality( child: Directionality(
...@@ -4935,7 +4935,7 @@ void main() { ...@@ -4935,7 +4935,7 @@ void main() {
focusNode: FocusNode(), focusNode: FocusNode(),
cursorColor: Colors.red, cursorColor: Colors.red,
backgroundCursorColor: Colors.blue, backgroundCursorColor: Colors.blue,
style: Typography.material2018(platform: TargetPlatform.android).black.subtitle1.copyWith(fontFamily: 'Roboto'), style: Typography.material2018(platform: TargetPlatform.android).black.subtitle1!.copyWith(fontFamily: 'Roboto'),
keyboardType: TextInputType.text, keyboardType: TextInputType.text,
inputFormatters: <TextInputFormatter>[LengthLimitingTextInputFormatter(6)], inputFormatters: <TextInputFormatter>[LengthLimitingTextInputFormatter(6)],
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment