WIP: android/ios-adaption feature, markdown, and augment #6

Draft
Juan wants to merge 28 commits from android-adaption into main
2 changed files with 233 additions and 224 deletions
Showing only changes of commit 5d4bc01a59 - Show all commits

View File

@ -170,7 +170,9 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
@override
Widget build(BuildContext context) {
return Padding(
return Scaffold(
backgroundColor: Theme.of(context).colorScheme.onPrimary,
body: Padding(
padding: const EdgeInsets.fromLTRB(0, 20, 0 , 20),
child: Scaffold(
key: _scaffoldKey,
@ -180,6 +182,8 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
_emailPageKey.currentState?.updateSelectedFolder(folder);
},
),
body: Scaffold(
backgroundColor: Theme.of(context).colorScheme.onPrimary,
body: Padding(
padding: const EdgeInsets.fromLTRB(0, 20, 0, 0),
child: Stack(
@ -412,6 +416,8 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
),
),
),
),
),
);
}
}

View File

@ -17,7 +17,10 @@ class HyM extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData.light(),
theme: ThemeData(
colorScheme: ColorScheme.light(),
useMaterial3: true,
),
title: 'HyM',
// home: HomeScreen(),
initialRoute: "/",