mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-05 10:19:22 +00:00
chans theme desktop selector fix and padding fixes
This commit is contained in:
parent
968b93a41c
commit
3963f29318
2 changed files with 93 additions and 180 deletions
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 249 KiB After Width: | Height: | Size: 216 KiB |
|
@ -136,7 +136,7 @@ class _AppearanceOptionSettings
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Padding(
|
const Padding(
|
||||||
padding: EdgeInsets.all(10),
|
padding: EdgeInsets.all(2),
|
||||||
child: ThemeToggle(),
|
child: ThemeToggle(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -186,14 +186,9 @@ class _ThemeToggle extends ConsumerState<ThemeToggle> {
|
||||||
runSpacing: 16,
|
runSpacing: 16,
|
||||||
children: [
|
children: [
|
||||||
for (int i = 0; i < ThemeType.values.length; i++)
|
for (int i = 0; i < ThemeType.values.length; i++)
|
||||||
Row(
|
Padding(
|
||||||
mainAxisSize: MainAxisSize.min,
|
padding: const EdgeInsets.all(8.0),
|
||||||
children: [
|
child: MouseRegion(
|
||||||
if (i > 0)
|
|
||||||
const SizedBox(
|
|
||||||
width: 10,
|
|
||||||
),
|
|
||||||
MouseRegion(
|
|
||||||
cursor: SystemMouseCursors.click,
|
cursor: SystemMouseCursors.click,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
@ -237,6 +232,7 @@ class _ThemeToggle extends ConsumerState<ThemeToggle> {
|
||||||
),
|
),
|
||||||
child: SvgPicture.asset(
|
child: SvgPicture.asset(
|
||||||
assetNameFor(ThemeType.values[i]),
|
assetNameFor(ThemeType.values[i]),
|
||||||
|
height: 160,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
|
@ -277,9 +273,8 @@ class _ThemeToggle extends ConsumerState<ThemeToggle> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
|
)
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue