fix: keep keyboard appearance as same brightness as system theme (#264)

This commit is contained in:
Yijing Huang 2023-07-02 23:51:18 -05:00 • committed by GitHub
commit 8bfb37f691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,10 +24,7 @@ class MyApp extends StatelessWidget {
supportedLocales: const [Locale('en', 'US')],
debugShowCheckedModeBanner: false,
home: const MyHomePage(title: 'AppFlowyEditor Example'),
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
theme: ThemeData.light(useMaterial3: true),
);
}
}