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