From 1d411848452202b283a71ceebe4d6caf3792e3df Mon Sep 17 00:00:00 2001 From: reasje Date: Thu, 12 Dec 2024 10:24:04 +0330 Subject: [PATCH 1/3] refactor: Auto --- lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart | 2 -- .../recent_transactions/widgets/cancel_bottom_sheet.dart | 2 -- .../recent_transactions/widgets/speed_up_bottom_sheet.dart | 2 -- .../subfeatures/open_dapp/domain/utils/js_channel_utils.dart | 1 - .../dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart | 1 - .../open_dapp/widgets/sign_message_bottom_sheet.dart | 1 - .../dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart | 1 - .../open_dapp/widgets/typed_message_bottom_sheet.dart | 1 - .../subfeatures/nft/send_nft/widgets/transaction_dialog.dart | 1 - .../transaction_history/widgets/filter_and_sort_dialog.dart | 2 -- lib/features/wallet/presentation/widgets/tweet_widget.dart | 1 - packages/appinio_social_share/example/test/widget_test.dart | 2 +- packages/shared | 2 +- 13 files changed, 2 insertions(+), 17 deletions(-) diff --git a/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart b/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart index 8a469e02..70187079 100644 --- a/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart +++ b/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart @@ -2,8 +2,6 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/widgets.dart'; import 'package:flutter/material.dart'; import 'package:flutter_blue_plus/flutter_blue_plus.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:mxc_ui/mxc_ui.dart'; Future showBlueberryRingsBottomSheet( BuildContext context, diff --git a/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart b/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart index 7107fc0b..81c1e513 100644 --- a/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart +++ b/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart @@ -1,7 +1,5 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:mxc_ui/mxc_ui.dart'; import 'speed_up_cancel_bottom_sheet_info.dart'; diff --git a/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart b/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart index b62c54d5..f919e1a9 100644 --- a/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart +++ b/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart @@ -1,7 +1,5 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:mxc_ui/mxc_ui.dart'; import 'speed_up_cancel_bottom_sheet_info.dart'; diff --git a/lib/features/dapps/subfeatures/open_dapp/domain/utils/js_channel_utils.dart b/lib/features/dapps/subfeatures/open_dapp/domain/utils/js_channel_utils.dart index 1d5b4df0..3b1cf9fe 100644 --- a/lib/features/dapps/subfeatures/open_dapp/domain/utils/js_channel_utils.dart +++ b/lib/features/dapps/subfeatures/open_dapp/domain/utils/js_channel_utils.dart @@ -1,4 +1,3 @@ -import 'package:flutter/material.dart'; import 'package:mxc_logic/mxc_logic.dart'; import '../../open_dapp.dart'; diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart index f44d67dc..9fb5792f 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart @@ -2,7 +2,6 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/add_asset_info.dart'; import 'package:flutter/material.dart'; import 'package:mxc_logic/mxc_logic.dart'; -import 'package:mxc_ui/mxc_ui.dart'; Future showAddAssetDialog( BuildContext context, { diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart index 286d6ebf..6fd77e8f 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart @@ -1,6 +1,5 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:flutter/material.dart'; -import 'package:mxc_ui/mxc_ui.dart'; import 'message_info.dart'; diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart index 1759de23..325b9e6b 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart @@ -1,6 +1,5 @@ import 'package:moonchain_wallet/common/common.dart'; import 'package:flutter/material.dart'; -import 'package:mxc_ui/mxc_ui.dart'; import 'transaction_info.dart'; diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart index 97181d4b..1a02e889 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart @@ -1,7 +1,6 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/typed_message_info.dart'; import 'package:flutter/material.dart'; -import 'package:mxc_ui/mxc_ui.dart'; Future showTypedMessageDialog( BuildContext context, { diff --git a/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart b/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart index b5555d23..aeebc90f 100644 --- a/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart +++ b/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart @@ -1,7 +1,6 @@ import 'package:moonchain_wallet/common/common.dart'; import 'package:flutter/material.dart'; import 'package:mxc_logic/mxc_logic.dart'; -import 'package:mxc_ui/mxc_ui.dart'; import 'transaction_info.dart'; diff --git a/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart b/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart index 143e604f..f33951c7 100644 --- a/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart +++ b/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart @@ -1,7 +1,5 @@ import 'package:moonchain_wallet/common/common.dart'; import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:mxc_ui/mxc_ui.dart'; import 'package:mxc_logic/mxc_logic.dart'; import 'filter_and_sort_items.dart'; diff --git a/lib/features/wallet/presentation/widgets/tweet_widget.dart b/lib/features/wallet/presentation/widgets/tweet_widget.dart index dc00909c..90475bb5 100644 --- a/lib/features/wallet/presentation/widgets/tweet_widget.dart +++ b/lib/features/wallet/presentation/widgets/tweet_widget.dart @@ -1,4 +1,3 @@ -import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; diff --git a/packages/appinio_social_share/example/test/widget_test.dart b/packages/appinio_social_share/example/test/widget_test.dart index d214628f..b177b24a 100644 --- a/packages/appinio_social_share/example/test/widget_test.dart +++ b/packages/appinio_social_share/example/test/widget_test.dart @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import '../lib/main.dart'; +import 'package:appinio_social_share_example/main.dart'; void main() { testWidgets('Verify Platform version', (WidgetTester tester) async { diff --git a/packages/shared b/packages/shared index a0153d0d..b81c0f36 160000 --- a/packages/shared +++ b/packages/shared @@ -1 +1 @@ -Subproject commit a0153d0d8684f7ac3f5b00867e1c56bf3a5a6f50 +Subproject commit b81c0f3698c009a69211e5465e78d5a17de17e61 From 06544c0e3d097950dbd91288caed37558c63e0c0 Mon Sep 17 00:00:00 2001 From: reasje Date: Thu, 12 Dec 2024 10:54:36 +0330 Subject: [PATCH 2/3] refactor: Move base bottom sheet to mxc ui --- .../bottom_sheets/base_bottom_sheet.dart | 79 ------------------- .../blueberry_rings_bottom_sheet.dart | 1 + lib/common/bottom_sheets/bottom_sheets.dart | 1 - .../widgets/cancel_bottom_sheet.dart | 1 + .../widgets/speed_up_bottom_sheet.dart | 1 + .../open_dapp/widgets/add_asset_dialog.dart | 2 +- .../widgets/sign_message_bottom_sheet.dart | 1 + .../open_dapp/widgets/transaction_dialog.dart | 1 + .../widgets/typed_message_bottom_sheet.dart | 1 + .../send_nft/widgets/transaction_dialog.dart | 1 + .../widgets/transaction_dialog.dart | 1 + .../widgets/filter_and_sort_dialog.dart | 1 + packages/shared | 2 +- 13 files changed, 11 insertions(+), 82 deletions(-) delete mode 100644 lib/common/bottom_sheets/base_bottom_sheet.dart diff --git a/lib/common/bottom_sheets/base_bottom_sheet.dart b/lib/common/bottom_sheets/base_bottom_sheet.dart deleted file mode 100644 index fd145e34..00000000 --- a/lib/common/bottom_sheets/base_bottom_sheet.dart +++ /dev/null @@ -1,79 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:mxc_ui/mxc_ui.dart'; - -Future showBaseBottomSheet({ - required BuildContext context, - bool hasCloseButton = true, - bool? closeButtonReturnValue, - /// Has translation so just pass the key - String? bottomSheetTitle, - List? widgets, - Widget? content, - bool isDismissible = true, - bool enableDrag = true, - Color? bottomSheetBackgroundColor, -}) { - assert( - ((widgets != null && bottomSheetTitle != null) || content != null) && - (!((widgets != null && bottomSheetTitle != null) && content != null)), - "Only one of content or widgets should be specified."); - String translate(String text) => FlutterI18n.translate(context, text); - - return showModalBottomSheet( - context: context, - useRootNavigator: true, - isScrollControlled: true, - isDismissible: isDismissible, - enableDrag: enableDrag, - backgroundColor: Colors.transparent, - useSafeArea: true, - builder: (BuildContext context) => ConstrainedBox( - constraints: BoxConstraints( - maxHeight: MediaQuery.of(context).size.height * 0.9, - ), - child: Container( - padding: const EdgeInsets.only( - top: 0, - bottom: Sizes.space3XLarge, - right: Sizes.spaceNormal, - left: Sizes.spaceNormal), - decoration: BoxDecoration( - color: bottomSheetBackgroundColor ?? - ColorsTheme.of(context).layerSheetBackground, - borderRadius: const BorderRadius.only( - topLeft: Radius.circular(20), - topRight: Radius.circular(20), - ), - ), - child: Container( - padding: const EdgeInsetsDirectional.only( - start: Sizes.spaceSmall, - end: Sizes.spaceSmall, - bottom: Sizes.space2XLarge), - child: content ?? - Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - MxcAppBarEvenly.title( - titleText: translate(bottomSheetTitle!), - action: hasCloseButton - ? Container( - alignment: Alignment.centerRight, - child: InkWell( - child: const Icon(Icons.close, size: 24), - onTap: () => Navigator.of(context) - .pop(closeButtonReturnValue), - ), - ) - : null, - ), - ...widgets! - ], - ), - ), - ), - ), - ); -} diff --git a/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart b/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart index 70187079..0e4ee735 100644 --- a/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart +++ b/lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart @@ -2,6 +2,7 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/widgets.dart'; import 'package:flutter/material.dart'; import 'package:flutter_blue_plus/flutter_blue_plus.dart'; +import 'package:mxc_ui/mxc_ui.dart'; Future showBlueberryRingsBottomSheet( BuildContext context, diff --git a/lib/common/bottom_sheets/bottom_sheets.dart b/lib/common/bottom_sheets/bottom_sheets.dart index b986653c..642f3154 100644 --- a/lib/common/bottom_sheets/bottom_sheets.dart +++ b/lib/common/bottom_sheets/bottom_sheets.dart @@ -1,2 +1 @@ export 'blueberry_rings_bottom_sheet.dart'; -export 'base_bottom_sheet.dart'; diff --git a/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart b/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart index 81c1e513..d41382e4 100644 --- a/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart +++ b/lib/common/components/recent_transactions/widgets/cancel_bottom_sheet.dart @@ -1,5 +1,6 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:flutter/material.dart'; +import 'package:mxc_ui/mxc_ui.dart'; import 'speed_up_cancel_bottom_sheet_info.dart'; diff --git a/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart b/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart index f919e1a9..eb6194a1 100644 --- a/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart +++ b/lib/common/components/recent_transactions/widgets/speed_up_bottom_sheet.dart @@ -1,5 +1,6 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:flutter/material.dart'; +import 'package:mxc_ui/mxc_ui.dart'; import 'speed_up_cancel_bottom_sheet_info.dart'; diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart index 9fb5792f..bff9c67f 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/add_asset_dialog.dart @@ -1,7 +1,7 @@ -import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/add_asset_info.dart'; import 'package:flutter/material.dart'; import 'package:mxc_logic/mxc_logic.dart'; +import 'package:mxc_ui/mxc_ui.dart'; Future showAddAssetDialog( BuildContext context, { diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart index 6fd77e8f..286d6ebf 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/sign_message_bottom_sheet.dart @@ -1,5 +1,6 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:flutter/material.dart'; +import 'package:mxc_ui/mxc_ui.dart'; import 'message_info.dart'; diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart index 325b9e6b..1759de23 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/transaction_dialog.dart @@ -1,5 +1,6 @@ import 'package:moonchain_wallet/common/common.dart'; import 'package:flutter/material.dart'; +import 'package:mxc_ui/mxc_ui.dart'; import 'transaction_info.dart'; diff --git a/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart b/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart index 1a02e889..97181d4b 100644 --- a/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart +++ b/lib/features/dapps/subfeatures/open_dapp/widgets/typed_message_bottom_sheet.dart @@ -1,6 +1,7 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/typed_message_info.dart'; import 'package:flutter/material.dart'; +import 'package:mxc_ui/mxc_ui.dart'; Future showTypedMessageDialog( BuildContext context, { diff --git a/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart b/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart index aeebc90f..b5555d23 100644 --- a/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart +++ b/lib/features/portfolio/subfeatures/nft/send_nft/widgets/transaction_dialog.dart @@ -1,6 +1,7 @@ import 'package:moonchain_wallet/common/common.dart'; import 'package:flutter/material.dart'; import 'package:mxc_logic/mxc_logic.dart'; +import 'package:mxc_ui/mxc_ui.dart'; import 'transaction_info.dart'; diff --git a/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_dialog.dart b/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_dialog.dart index 18d6aef8..bd83463a 100644 --- a/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_dialog.dart +++ b/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_dialog.dart @@ -1,6 +1,7 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart'; import 'package:flutter/material.dart'; import 'package:mxc_logic/mxc_logic.dart'; +import 'package:mxc_ui/mxc_ui.dart'; import 'transaction_info.dart'; diff --git a/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart b/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart index f33951c7..b8ab2fbb 100644 --- a/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart +++ b/lib/features/portfolio/subfeatures/transaction_history/widgets/filter_and_sort_dialog.dart @@ -1,6 +1,7 @@ import 'package:moonchain_wallet/common/common.dart'; import 'package:flutter/material.dart'; import 'package:mxc_logic/mxc_logic.dart'; +import 'package:mxc_ui/mxc_ui.dart'; import 'filter_and_sort_items.dart'; diff --git a/packages/shared b/packages/shared index b81c0f36..fb120b58 160000 --- a/packages/shared +++ b/packages/shared @@ -1 +1 @@ -Subproject commit b81c0f3698c009a69211e5465e78d5a17de17e61 +Subproject commit fb120b585963d4d6fc28e7e9b15f244a482d5313 From f6b87a7e65e852386bb2021b6a6df85dae10d5f8 Mon Sep 17 00:00:00 2001 From: reasje Date: Thu, 12 Dec 2024 10:55:05 +0330 Subject: [PATCH 3/3] fix: Remove extra padding on transaction bottom sheet --- .../send_crypto/widgets/transaction_info.dart | 69 +++++++++---------- 1 file changed, 33 insertions(+), 36 deletions(-) diff --git a/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_info.dart b/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_info.dart index c282270a..0b99a2cc 100644 --- a/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_info.dart +++ b/lib/features/portfolio/subfeatures/token/send_token/send_crypto/widgets/transaction_info.dart @@ -57,46 +57,43 @@ class _TransactionInfoState extends State { ), ), ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 6), - child: Column( - children: [ - amountItem(context), - SingleLineInfoItem( - title: 'balance', - value: widget.balance, - hint: widget.token.symbol, - ), - SingleLineInfoItem( - title: 'network', - value: widget.network, - ), + Column( + children: [ + amountItem(context), + SingleLineInfoItem( + title: 'balance', + value: widget.balance, + hint: widget.token.symbol, + ), + SingleLineInfoItem( + title: 'network', + value: widget.network, + ), + SingleLineInfoItem( + title: 'from', + value: widget.from, + ), + SingleLineInfoItem( + title: 'to', + value: widget.to, + ), + if (TransactionProcessType.confirm != processType) ...[ SingleLineInfoItem( - title: 'from', - value: widget.from, + title: 'estimated_fee', + value: MXCFormatter.formatNumberForUI( + widget.estimatedFee, + ), + hint: widget.networkSymbol, ), SingleLineInfoItem( - title: 'to', - value: widget.to, - ), - if (TransactionProcessType.confirm != processType) ...[ - SingleLineInfoItem( - title: 'estimated_fee', - value: MXCFormatter.formatNumberForUI( - widget.estimatedFee, - ), - hint: widget.networkSymbol, - ), - SingleLineInfoItem( - title: 'max_fee', - value: MXCFormatter.formatNumberForUI( - widget.maxFee, - ), - hint: widget.networkSymbol, + title: 'max_fee', + value: MXCFormatter.formatNumberForUI( + widget.maxFee, ), - ] - ], - ), + hint: widget.networkSymbol, + ), + ] + ], ), const SizedBox(height: 8), transactionButton(context),