slightly adjust mouse region

This commit is contained in:
julian 2022-11-15 16:29:12 -06:00
parent 3eae7d0fab
commit 1818b00ac6

View file

@ -39,6 +39,8 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
return Row(
children: [
Expanded(
child: MouseRegion(
cursor: SystemMouseCursors.click,
child: GestureDetector(
onTap: () => _onChanged(0),
child: Container(
@ -48,9 +50,7 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
const SizedBox(
height: 16,
),
MouseRegion(
cursor: SystemMouseCursors.click,
child: Text(
Text(
"Send",
style:
STextStyles.desktopTextExtraSmall(context).copyWith(
@ -63,7 +63,6 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
.textSubtitle1,
),
),
),
const SizedBox(
height: 19,
),
@ -84,7 +83,10 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
),
),
),
),
Expanded(
child: MouseRegion(
cursor: SystemMouseCursors.click,
child: GestureDetector(
onTap: () => _onChanged(1),
child: Container(
@ -94,9 +96,7 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
const SizedBox(
height: 16,
),
MouseRegion(
cursor: SystemMouseCursors.click,
child: Text(
Text(
"Receive",
style:
STextStyles.desktopTextExtraSmall(context).copyWith(
@ -109,7 +109,6 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
.textSubtitle1,
),
),
),
const SizedBox(
height: 19,
),
@ -130,6 +129,7 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
),
),
),
),
],
);
}