Enable avoid_unnecessary_containers lint (#77294)
This commit is contained in:
committed by
GitHub
parent
c5d1600843
commit
ed755fba5e
@@ -53,12 +53,10 @@ class TextFieldPage extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Material(
|
||||
child: Container(
|
||||
child: TextField(
|
||||
maxLines: null,
|
||||
controller: TextEditingController(text: textLotsOfText),
|
||||
key: const Key('fullscreen-textfield'),
|
||||
),
|
||||
child: TextField(
|
||||
maxLines: null,
|
||||
controller: TextEditingController(text: textLotsOfText),
|
||||
key: const Key('fullscreen-textfield'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user