offcenter radio button

This commit is contained in:
ryleedavis 2022-12-30 08:36:51 -07:00
parent 6d1f0dec8a
commit 0176111580

View file

@ -77,6 +77,8 @@ class ExchangeProviderOptions extends ConsumerWidget {
SizedBox(
width: 20,
height: 20,
child: Padding(
padding: const EdgeInsets.only(top: 19.0),
child: Radio(
activeColor: Theme.of(context)
.extension<StackColors>()!
@ -88,7 +90,8 @@ class ExchangeProviderOptions extends ConsumerWidget {
onChanged: (value) {
if (value is String) {
ref
.read(currentExchangeNameStateProvider.state)
.read(
currentExchangeNameStateProvider.state)
.state = value;
ref.read(exchangeFormStateProvider).exchange =
Exchange.fromName(ref
@ -99,14 +102,18 @@ class ExchangeProviderOptions extends ConsumerWidget {
},
),
),
),
const SizedBox(
width: 14,
),
SvgPicture.asset(
Padding(
padding: const EdgeInsets.only(top: 8.0),
child: SvgPicture.asset(
Assets.exchange.changeNow,
width: isDesktop ? 32 : 24,
height: isDesktop ? 32 : 24,
),
),
const SizedBox(
width: 10,
),