increase gap between settings section

This commit is contained in:
Neeraj Gupta 2022-05-03 00:13:33 +05:30
parent 0457ad4e18
commit fe630d0fff
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1
2 changed files with 3 additions and 3 deletions

BIN
assets/card_background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View file

@ -28,7 +28,7 @@ class SettingsPage extends StatelessWidget {
final String email = Configuration.instance.getEmail();
final List<Widget> contents = [];
contents.add(Container(
padding: EdgeInsets.symmetric(horizontal: 10),
padding: EdgeInsets.symmetric(horizontal: 2),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
@ -43,7 +43,7 @@ class SettingsPage extends StatelessWidget {
ThemeSwitchWidget()
])));
final sectionDivider = Divider(
height: 10,
height: 20,
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.4),
);
if (hasLoggedIn) {
@ -77,7 +77,7 @@ class SettingsPage extends StatelessWidget {
}
return SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.all(12.0),
padding: const EdgeInsets.symmetric(vertical: 12.0, horizontal: 20),
child: Column(
children: contents,
),