UI changes

This commit is contained in:
tuxpizza 2024-10-28 19:45:22 -04:00
parent 9beffbad96
commit b534e4871d
2 changed files with 6 additions and 12 deletions
lib/src/screens/cake_pay

View file

@ -99,7 +99,7 @@ class CakePayCardsPage extends BasePage {
decoration: BoxDecoration(
color: Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor,
border: Border.all(
color: Colors.white.withOpacity(0.2),
color: Colors.transparent,
),
borderRadius: BorderRadius.circular(10),
),
@ -123,7 +123,7 @@ class CakePayCardsPage extends BasePage {
padding: EdgeInsets.symmetric(horizontal: 6),
decoration: BoxDecoration(
color: Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor,
border: Border.all(color: Colors.white.withOpacity(0.2)),
border: Border.all(color: Colors.transparent),
borderRadius: BorderRadius.circular(10),
),
child: Container(
@ -167,9 +167,9 @@ class CakePayCardsPage extends BasePage {
controller: _searchController,
focusNode: searchFocusNode,
)),
SizedBox(width: 10),
SizedBox(width: 5),
filterButton,
SizedBox(width: 10),
SizedBox(width: 5),
_countryPicker
])),
SizedBox(height: 8),
@ -369,15 +369,9 @@ class _SearchWidget extends StatelessWidget {
alignLabelWithHint: true,
floatingLabelBehavior: FloatingLabelBehavior.never,
suffixIcon: searchIcon,
border: OutlineInputBorder(
borderSide: BorderSide(
color: Colors.white.withOpacity(0.2),
),
borderRadius: BorderRadius.circular(10),
),
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(
color: Colors.white.withOpacity(0.2),
color: Colors.transparent,
),
borderRadius: BorderRadius.circular(10),
),

View file

@ -9,7 +9,7 @@ class CardItem extends StatelessWidget {
required this.backgroundColor,
required this.titleColor,
required this.subtitleColor,
this.hideBorder = false,
this.hideBorder = true,
this.discount = 0.0,
this.isAmount = false,
this.discountBackground,