mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
migrate infinite_list to Material 3 (#1614)
This commit is contained in:
@@ -43,9 +43,10 @@ class MyApp extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ChangeNotifierProvider<Catalog>(
|
||||
create: (context) => Catalog(),
|
||||
child: const MaterialApp(
|
||||
child: MaterialApp(
|
||||
title: 'Infinite List Sample',
|
||||
home: MyHomePage(),
|
||||
theme: ThemeData.light(useMaterial3: true),
|
||||
home: const MyHomePage(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user