mirror of
https://github.com/flutter/samples.git
synced 2026-03-22 04:17:50 +00:00
Enable Material 3 in simplistic_calculator (#1966)
This commit is contained in:
@@ -347,6 +347,7 @@ class CalculatorApp extends ConsumerWidget {
|
|||||||
|
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
|
theme: ThemeData.light(useMaterial3: true),
|
||||||
home: Scaffold(
|
home: Scaffold(
|
||||||
body: Container(
|
body: Container(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
|
|||||||
Reference in New Issue
Block a user