💄 Optimize styles
This commit is contained in:
parent
8e04230388
commit
4caca49baf
@ -36,7 +36,8 @@ class GoatAgent extends StatelessWidget {
|
||||
primarySwatch: Colors.indigo,
|
||||
accentColor: Colors.indigoAccent,
|
||||
backgroundColor: Colors.white,
|
||||
brightness: Brightness.light),
|
||||
brightness: Brightness.light,
|
||||
),
|
||||
useMaterial3: true,
|
||||
),
|
||||
darkTheme: ThemeData(
|
||||
@ -44,8 +45,9 @@ class GoatAgent extends StatelessWidget {
|
||||
colorScheme: ColorScheme.fromSwatch(
|
||||
primarySwatch: Colors.indigo,
|
||||
accentColor: Colors.indigoAccent,
|
||||
backgroundColor: Colors.black12,
|
||||
brightness: Brightness.dark),
|
||||
backgroundColor: Colors.black,
|
||||
brightness: Brightness.dark,
|
||||
),
|
||||
useMaterial3: true,
|
||||
),
|
||||
home: const AgentNavigation(),
|
||||
|
@ -9,13 +9,11 @@ class ApplicationScreen extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
|
||||
content: Text("Swipe from left to back to dashboard."),
|
||||
));
|
||||
|
||||
return Scaffold(
|
||||
appBar: PreferredSize(
|
||||
preferredSize: const Size.fromHeight(32.0),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 18),
|
||||
child: AppBar(),
|
||||
)),
|
||||
body: SafeArea(
|
||||
child: Stack(
|
||||
children: [
|
||||
|
Reference in New Issue
Block a user