fix bridge ui (#3189)

* fix bridge ui

* padding on info bottom sheet

* fix cutoff on infobottomsheet

* fix wording on bridge details ui

* no _amountController.clear() on bridge page navigation

* autofocus keyboard on bridge page opened

* remove KeyboardHideOverlay

* fix text field resize

* fix text field padding
This commit is contained in:
malik1004x
2026-04-17 23:46:58 +02:00
committed by GitHub
parent 21847cd958
commit 1cb05d5211
8 changed files with 170 additions and 174 deletions
@@ -55,13 +55,15 @@ abstract class BaseBottomSheet extends StatelessWidget {
topLeft: Radius.circular(30.0), topRight: Radius.circular(30.0)),
child: Container(
color: Theme.of(context).colorScheme.surface,
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
_buildHeader(context),
contentWidget(context),
_buildFooter(context),
],
child: SafeArea(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
_buildHeader(context),
contentWidget(context),
_buildFooter(context),
],
),
),
),
),
@@ -108,7 +110,7 @@ abstract class BaseBottomSheet extends StatelessWidget {
case FooterType.slideActionButton:
return Padding(
padding: const EdgeInsets.fromLTRB(40, 12, 40, 34),
padding: const EdgeInsets.fromLTRB(40, 12, 40, 24),
child: StandardSlideButton(
key: ValueKey('base_bottom_sheet_widget_standard_slide_button_key'),
buttonText: slideActionButtonText ?? '',
@@ -120,7 +122,7 @@ abstract class BaseBottomSheet extends StatelessWidget {
case FooterType.singleActionButton:
return Padding(
padding: const EdgeInsets.fromLTRB(16, 12, 16, 34),
padding: const EdgeInsets.fromLTRB(16, 12, 16, 24),
child: LoadingPrimaryButton(
key: singleActionButtonKey,
text: singleActionButtonText ?? '',
@@ -134,7 +136,7 @@ abstract class BaseBottomSheet extends StatelessWidget {
case FooterType.doubleActionButton:
return Padding(
padding: const EdgeInsets.fromLTRB(16, 0, 16, 34),
padding: const EdgeInsets.fromLTRB(16, 0, 16, 24),
child: Row(
children: [
Expanded(
@@ -100,6 +100,7 @@ class InfoBottomSheet extends BaseBottomSheet {
)
else
Container(),
SizedBox(height: 24,),
if (content != null)
Expanded(
flex: 2,