increase gap between settings section
This commit is contained in:
parent
0457ad4e18
commit
fe630d0fff
2 changed files with 3 additions and 3 deletions
BIN
assets/card_background.png
Normal file
BIN
assets/card_background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
|
@ -28,7 +28,7 @@ class SettingsPage extends StatelessWidget {
|
||||||
final String email = Configuration.instance.getEmail();
|
final String email = Configuration.instance.getEmail();
|
||||||
final List<Widget> contents = [];
|
final List<Widget> contents = [];
|
||||||
contents.add(Container(
|
contents.add(Container(
|
||||||
padding: EdgeInsets.symmetric(horizontal: 10),
|
padding: EdgeInsets.symmetric(horizontal: 2),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
@ -43,7 +43,7 @@ class SettingsPage extends StatelessWidget {
|
||||||
ThemeSwitchWidget()
|
ThemeSwitchWidget()
|
||||||
])));
|
])));
|
||||||
final sectionDivider = Divider(
|
final sectionDivider = Divider(
|
||||||
height: 10,
|
height: 20,
|
||||||
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.4),
|
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.4),
|
||||||
);
|
);
|
||||||
if (hasLoggedIn) {
|
if (hasLoggedIn) {
|
||||||
|
@ -77,7 +77,7 @@ class SettingsPage extends StatelessWidget {
|
||||||
}
|
}
|
||||||
return SingleChildScrollView(
|
return SingleChildScrollView(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(12.0),
|
padding: const EdgeInsets.symmetric(vertical: 12.0, horizontal: 20),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: contents,
|
children: contents,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue