address type dropdown styling

This commit is contained in:
julian 2024-04-23 15:42:47 -06:00
parent 351ce4ec02
commit bd017f8354

View file

@ -325,6 +325,17 @@ class _ReceiveViewState extends ConsumerState<ReceiveView> {
builder: (child) => Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Text(
"Address type",
style: STextStyles.w500_14(context).copyWith(
color: Theme.of(context)
.extension<StackColors>()!
.infoItemLabel,
),
),
const SizedBox(
height: 10,
),
DropdownButtonHideUnderline(
child: DropdownButton2<bool>(
value: _showSparkAddress,
@ -333,14 +344,14 @@ class _ReceiveViewState extends ConsumerState<ReceiveView> {
value: true,
child: Text(
"Spark address",
style: STextStyles.desktopTextMedium(context),
style: STextStyles.w500_14(context),
),
),
DropdownMenuItem(
value: false,
child: Text(
"Transparent address",
style: STextStyles.desktopTextMedium(context),
style: STextStyles.w500_14(context),
),
),
],
@ -365,6 +376,16 @@ class _ReceiveViewState extends ConsumerState<ReceiveView> {
),
),
),
buttonStyleData: ButtonStyleData(
decoration: BoxDecoration(
color: Theme.of(context)
.extension<StackColors>()!
.textFieldDefaultBG,
borderRadius: BorderRadius.circular(
Constants.size.circularBorderRadius,
),
),
),
dropdownStyleData: DropdownStyleData(
offset: const Offset(0, -10),
elevation: 0,
@ -598,7 +619,7 @@ class _ReceiveViewState extends ConsumerState<ReceiveView> {
height: 20,
),
CustomTextButton(
text: "Create new QR code",
text: "Advanced options",
onTap: () async {
unawaited(Navigator.of(context).push(
RouteGenerator.getRoute(