mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-23 07:38:49 +00:00
feat: wrap with semantic widget for talkback
This commit is contained in:
parent
7ea374d6e4
commit
4c145e1412
1 changed files with 51 additions and 47 deletions
|
@ -99,6 +99,9 @@ class _RefreshButtonState extends ConsumerState<WalletRefreshButton> {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
height: isDesktop ? 22 : 36,
|
height: isDesktop ? 22 : 36,
|
||||||
width: isDesktop ? 22 : 36,
|
width: isDesktop ? 22 : 36,
|
||||||
|
child: Semantics(
|
||||||
|
label: "Refresh Button. Refreshes The Values In Summary.",
|
||||||
|
excludeSemantics: true,
|
||||||
child: MaterialButton(
|
child: MaterialButton(
|
||||||
color: isDesktop
|
color: isDesktop
|
||||||
? Theme.of(context).extension<StackColors>()!.buttonBackSecondary
|
? Theme.of(context).extension<StackColors>()!.buttonBackSecondary
|
||||||
|
@ -149,6 +152,7 @@ class _RefreshButtonState extends ConsumerState<WalletRefreshButton> {
|
||||||
.textFavoriteCard,
|
.textFavoriteCard,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue