mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-27 12:45:52 +00:00
slightly adjust mouse region
This commit is contained in:
parent
3eae7d0fab
commit
1818b00ac6
1 changed files with 56 additions and 56 deletions
|
@ -39,18 +39,18 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
|
||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: GestureDetector(
|
child: MouseRegion(
|
||||||
onTap: () => _onChanged(0),
|
cursor: SystemMouseCursors.click,
|
||||||
child: Container(
|
child: GestureDetector(
|
||||||
color: Colors.transparent,
|
onTap: () => _onChanged(0),
|
||||||
child: Column(
|
child: Container(
|
||||||
children: [
|
color: Colors.transparent,
|
||||||
const SizedBox(
|
child: Column(
|
||||||
height: 16,
|
children: [
|
||||||
),
|
const SizedBox(
|
||||||
MouseRegion(
|
height: 16,
|
||||||
cursor: SystemMouseCursors.click,
|
),
|
||||||
child: Text(
|
Text(
|
||||||
"Send",
|
"Send",
|
||||||
style:
|
style:
|
||||||
STextStyles.desktopTextExtraSmall(context).copyWith(
|
STextStyles.desktopTextExtraSmall(context).copyWith(
|
||||||
|
@ -63,40 +63,40 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
|
||||||
.textSubtitle1,
|
.textSubtitle1,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
const SizedBox(
|
||||||
const SizedBox(
|
height: 19,
|
||||||
height: 19,
|
|
||||||
),
|
|
||||||
Container(
|
|
||||||
height: 2,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: _selectedIndex == 0
|
|
||||||
? Theme.of(context)
|
|
||||||
.extension<StackColors>()!
|
|
||||||
.accentColorBlue
|
|
||||||
: Theme.of(context)
|
|
||||||
.extension<StackColors>()!
|
|
||||||
.background,
|
|
||||||
),
|
),
|
||||||
),
|
Container(
|
||||||
],
|
height: 2,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: _selectedIndex == 0
|
||||||
|
? Theme.of(context)
|
||||||
|
.extension<StackColors>()!
|
||||||
|
.accentColorBlue
|
||||||
|
: Theme.of(context)
|
||||||
|
.extension<StackColors>()!
|
||||||
|
.background,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: GestureDetector(
|
child: MouseRegion(
|
||||||
onTap: () => _onChanged(1),
|
cursor: SystemMouseCursors.click,
|
||||||
child: Container(
|
child: GestureDetector(
|
||||||
color: Colors.transparent,
|
onTap: () => _onChanged(1),
|
||||||
child: Column(
|
child: Container(
|
||||||
children: [
|
color: Colors.transparent,
|
||||||
const SizedBox(
|
child: Column(
|
||||||
height: 16,
|
children: [
|
||||||
),
|
const SizedBox(
|
||||||
MouseRegion(
|
height: 16,
|
||||||
cursor: SystemMouseCursors.click,
|
),
|
||||||
child: Text(
|
Text(
|
||||||
"Receive",
|
"Receive",
|
||||||
style:
|
style:
|
||||||
STextStyles.desktopTextExtraSmall(context).copyWith(
|
STextStyles.desktopTextExtraSmall(context).copyWith(
|
||||||
|
@ -109,23 +109,23 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
|
||||||
.textSubtitle1,
|
.textSubtitle1,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
const SizedBox(
|
||||||
const SizedBox(
|
height: 19,
|
||||||
height: 19,
|
|
||||||
),
|
|
||||||
Container(
|
|
||||||
height: 2,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: _selectedIndex == 1
|
|
||||||
? Theme.of(context)
|
|
||||||
.extension<StackColors>()!
|
|
||||||
.accentColorBlue
|
|
||||||
: Theme.of(context)
|
|
||||||
.extension<StackColors>()!
|
|
||||||
.background,
|
|
||||||
),
|
),
|
||||||
),
|
Container(
|
||||||
],
|
height: 2,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: _selectedIndex == 1
|
||||||
|
? Theme.of(context)
|
||||||
|
.extension<StackColors>()!
|
||||||
|
.accentColorBlue
|
||||||
|
: Theme.of(context)
|
||||||
|
.extension<StackColors>()!
|
||||||
|
.background,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue