forked from firka/flutter
Widgets app refactor (#22269)
* Refactor of cupertino/material/widgets app * update docs * Update tests for const
This commit is contained in:
@@ -10,8 +10,8 @@ void main() {
|
||||
testWidgets('receiveAction() forwards exception when exception occurs during action processing',
|
||||
(WidgetTester tester) async {
|
||||
// Setup a widget that can receive focus so that we can open the keyboard.
|
||||
final Widget widget = MaterialApp(
|
||||
home: const Material(
|
||||
const Widget widget = MaterialApp(
|
||||
home: Material(
|
||||
child: TextField(),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -533,8 +533,8 @@ void main() {
|
||||
group('getSemanticsData', () {
|
||||
testWidgets('throws when there are no semantics', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(
|
||||
MaterialApp(
|
||||
home: const Scaffold(
|
||||
const MaterialApp(
|
||||
home: Scaffold(
|
||||
body: Text('hello'),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user